make testTempo2 testEndToEnd failing (2016.05.0)

Issue #12 resolved
Former user created an issue

hi! when I try to compile tempo2 (2016.05.0) on ubuntu 16.04 it fails. It looks like that -ldl is missing.

gijs@packaging:/packaging/repos/tempo2-2016.05.0/tests$ make  testTempo2 testEndToEnd
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security   -L//lib -L/usr/local/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o testTempo2 testTempo2.o libgtest.la ../libtempo2.la  -pthread -lm
libtool: link: g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o .libs/testTempo2 testTempo2.o -pthread  -L//lib -L/usr/local/lib ./.libs/libgtest.a ../.libs/libtempo2.so -lm -pthread
../.libs/libtempo2.so: undefined reference to `dlopen'
../.libs/libtempo2.so: undefined reference to `dlclose'
../.libs/libtempo2.so: undefined reference to `dlerror'
../.libs/libtempo2.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
Makefile:658: recipe for target 'testTempo2' failed
make: *** [testTempo2] Error 1

Comments (4)

  1. Michael Keith
    • changed status to open

    Confirmed in latest build. Possibly due to some change to the global makefile. Not a critical bug, but should be easy to fix!

  2. Log in to comment