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

Nathan Vegdahl cessen at cessen.com
Thu Nov 29 07:32:31 CET 2012

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

More information about the Bf-committers mailing list