[Debichem-devel] FTBFS openbabel 2.3.0

Daniel Leidert daniel.leidert.spam at gmx.net
Tue Feb 8 18:38:44 UTC 2011


Am Dienstag, den 08.02.2011, 11:05 +0100 schrieb Michael Banck:
> On Mon, Feb 07, 2011 at 09:25:32AM +0100, Daniel Leidert wrote:
> > 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.
[..]
> Or we can try to figure out how to build the static libinchi library
> with -fPIC.  

Found it and it works.

I see, we need to write some manual pages.

Second question: Shall we build the GUI? wxWidgets is available.

Regards, Daniel




More information about the Debichem-devel mailing list