[Bf-committers] Library building fails on OpenImageIO with Ubuntu 12.10
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:
> 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>
>> > 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:
>> > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
>> > making a shared object; recompile with -fPIC
>> > could not read symbols: Bad value
>> > collect2: error: ld returned 1 exit status
>> > make: *** [python/OpenImageIO.so] Error 1
>> > make: *** [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
> With best regards, Sergey Sharybin
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers