[Debichem-devel] FTBFS openbabel 2.3.0

Daniel Leidert daniel.leidert.spam at gmx.net
Mon Feb 7 08:25:32 UTC 2011


Hi,

Anybody familiar enough with CMAKEto resolve this build failure?

> Linking CXX shared module ../../lib/inchiformat.so
> cd /tmp/buildd/openbabel-2.3.0/build/src/formats && /usr/bin/cmake -E cmake_link_script CMakeFiles/inchiformat.dir/link.txt --verbose=1
> /usr/bin/c++  -fPIC -g -O2  -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -O2 -g -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared -Wl,-soname,inchiformat.so -o ../../lib/inchiformat.so CMakeFiles/inchiformat.dir/inchiformat.o CMakeFiles/inchiformat.dir/getinchi.o CMakeFiles/inchiformat.dir/__/ops/unique.o -lm -ldl -lz inchi103/libinchi.a -lm ../../lib/libopenbabel.so.4.0.0 -lc -lm -ldl -lz 
> /usr/bin/ld: inchi103/libinchi.a(ikey_dll.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
> inchi103/libinchi.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[4]: *** [lib/inchiformat.so] Error 1
> make[4]: Leaving directory `/tmp/buildd/openbabel-2.3.0/build'
> make[3]: *** [src/formats/CMakeFiles/inchiformat.dir/all] Error 2

I cannot figure how to fix this.

Regards, Daniel




More information about the Debichem-devel mailing list