On Thu, 2013-01-24 at 11:35 +0000, Paul Emsley wrote: > On Wed, 2013-01-23 at 19:17 -0500, hari jayaram wrote: > > Hi I am trying to build the subversion coot on a Ubuntu machine > > running 12.10 using the build-it-gtk2-simple python script. > > > > > > I get all the way to compiling the final coot and get an error in the > > final linking part. > > > > > > (dynload_shlib.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5' > > /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in > > DSO /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libdl.so so > > try adding it to the linker command line > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libdl.so: > > could not read symbols: Invalid operation > > collect2: error: ld returned 1 exit status > > make[1]: *** [coot-real] Error 1 > > make[1]: Leaving directory > > `/home/ubuntu/autobuild/ubuntu_2013-01-23__T22_55_56/coot-0.7.1-pre/src' > > make: *** [all-recursive] Error 1 > > make failed. > > > > > > The detailed error is at http://dpaste.com/889587/ > > > > > > I had buidling using a script that Clemens had shared ( which also > > calls build-it-gtk2-simple) but that too failed at an earlier step. > > At a guess I'd suggest putting -ldl after -lpython2.7. That seems a > sane way of doing things - I don't know why it's not arranged like that > already. I'll dig... >
$ python-config --ld-flags -lpthread -ldl -lutil -lm -lpython2.6 Urgh!
