/usr/bin/ld: tempo2-tempo2.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line

Issue #66 closed
Former user created an issue

asc@ubuntu:~/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1$ make && make install make all-recursive make[1]: Entering directory '/home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1' Making all in sofa make[2]: Entering directory '/home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1/sofa' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1/sofa' Making all in . make[2]: Entering directory '/home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1' /bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -Wno-error -fopenmp -DHAVE_OPENMP -L//lib -L/usr/local/lib -fopenmp -o tempo2 tempo2-enum_str.o tempo2-tempo2.o libtempo2.la sofa/libsofa.la -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lgfortran -lm -lquadmath -lm libtool: link: g++ -g -O2 -Wno-error -fopenmp -DHAVE_OPENMP -fopenmp -o .libs/tempo2 tempo2-enum_str.o tempo2-tempo2.o -L//lib -L/usr/local/lib ./.libs/libtempo2.so /home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1/sofa/.libs/libsofa.so sofa/.libs/libsofa.so -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lgfortran -lquadmath -lm -fopenmp -Wl,-rpath -Wl,/home/asc/tempo2runtime/lib /usr/bin/ld: tempo2-tempo2.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:746: recipe for target 'tempo2' failed make[2]: [tempo2] Error 1 make[2]: Leaving directory '/home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1' Makefile:1058: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/asc/asc/astrosoft/env/tempo2-2019.01.1/tempo2-2019.01.1' Makefile:595: recipe for target 'all' failed make: *** [all] Error 2

Comments (3)

  1. Michael Keith

    This isn't really a very useful bug report, but in any case I think this is not a bug in tempo2 but some issue with your build environment. It looks like there is a problem with libdl or glibc, or some version conflict between them. This might be caused if you have installed some custom compiler or something?

  2. Log in to comment