[Bf-committers] Library building fails on OpenImageIO with Ubuntu 12.10

Nathan Vegdahl cessen at cessen.com
Thu Nov 29 22:02:04 CET 2012


OIIO builds fine now.  Thanks!

On Thu, Nov 29, 2012 at 12:22 AM, Sergey Sharybin <sergey.vfx at gmail.com> wrote:
> Hi,
>
> I've tweaked install_deps.sh a little so now ubuntu should be happy.
>
> Real fix would be to not build shared oiio library (which is not needed
> anyway) but which always builds currently (that's more up to oiio guys,
> i'll investigate this later and will send them a patch).
>
>
> On Thu, Nov 29, 2012 at 12:32 PM, Nathan Vegdahl <cessen at cessen.com> wrote:
>
>> Oh, I should add that building Open Image IO myself manually (just
>> typing "make" and hitting enter) successfully builds.  It's only when
>> it's build via the script that it fails.
>>
>> On Wed, Nov 28, 2012 at 10:31 PM, Nathan Vegdahl <cessen at cessen.com>
>> wrote:
>> > Not sure if this is a bug or if I'm just doing something wrong.  I'm
>> > running the new install_deps.sh script on Ubuntu 12.10 64-bit, and
>> > it's failing at the very last step of buidling Open Image IO:
>> >
>> > ----
>> > Linking CXX shared library OpenImageIO.so
>> > /usr/bin/ld:
>> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_filesystem-mt.a(operations.o):
>> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
>> > making a shared object; recompile with -fPIC
>> >
>> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_filesystem-mt.a:
>> > could not read symbols: Bad value
>> > collect2: error: ld returned 1 exit status
>> > make[2]: *** [python/OpenImageIO.so] Error 1
>> > make[1]: *** [python/CMakeFiles/PyOpenImageIO.dir/all] Error 2
>> > make: *** [all] Error 2
>> > OpenImageIO-1.1.1 failed to compile, exiting
>> > ----
>> >
>> > Am I doing something wrong here, or is this a bug in the script (or
>> > the Ubuntu packaged boost libraries)?
>> >
>> > --Nathan
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
>
> --
> With best regards, Sergey Sharybin
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list