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

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

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
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)?


More information about the Bf-committers mailing list