[DynInst_API:] Dyninst 8 compile problem


Date: Wed, 24 Oct 2012 16:35:13 +0200
From: Pooya Salehi <pxsalehi@xxxxxxxxx>
Subject: [DynInst_API:] Dyninst 8 compile problem
I am trying to complie dyninst 8 and get a correct installation, but I get the following error:
...
Linking test_driver
./libtestSuite.so: undefined reference to `dlsym'
./libtestSuite.so: undefined reference to `dlerror'
./libtestSuite.so: undefined reference to `dlopen'
./libtestSuite.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [test_driver] Error 1
make[1]: Leaving directory `/home/p00ya/software/dyninst8/testsuite/x86_64-unknown-linux2.4'
make: *** [testsuite_install] Error 2

and when I try to add -ld to LIBS then ./configure gives error:

checking for a BSD-compatible install... /usr/bin/install -c
checking for g++... g++
checking for C++ compiler default output file name...
configure: error: in `/home/p00ya/software/dyninst8':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

can someone help please? I am using Ubuntu 12.04 x64

[← Prev in Thread] Current Thread [Next in Thread→]