[Ipopt-tickets] [Ipopt] #230: Undefined Reference to dlopen, dlclose, dlerror, dlsym
Ipopt
coin-trac at coin-or.org
Tue Jan 28 14:00:23 EST 2014
#230: Undefined Reference to dlopen, dlclose, dlerror, dlsym
-------------------------+------------------------
Reporter: amigoricardo | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.11 | Severity: blocker
Keywords: |
-------------------------+------------------------
Hi!
Compiling IPOPT 3.11.7 under an Ubuntu 13.10, I've got the following:
then mv -f ".deps/ampl_ipopt.Tpo" ".deps/ampl_ipopt.Po"; else rm
-f ".deps/ampl_ipopt.Tpo"; exit 1; fi
/bin/bash ../../../../libtool --tag=CXX --mode=link g++ -O3 -pipe
-DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
-Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-
long-long -DIPOPT_BUILD -o ipopt ampl_ipopt.o
libipoptamplinterface.la ../../Interfaces/libipopt.la /home/amigo
/CoinIpopt-build/ThirdParty/ASL/libcoinasl.la -lm -ldl -llapack -lblas
-lm -ldl
g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type
-Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-
unknown-pragmas -Wno-long-long -DIPOPT_BUILD -o .libs/ipopt ampl_ipopt.o
./.libs/libipoptamplinterface.so ../../Interfaces/.libs/libipopt.so
/home/amigo/CoinIpopt-build/ThirdParty/ASL/.libs/libcoinasl.so -llapack
-lblas -lm -ldl -Wl,--rpath -Wl,/home/amigo/CoinIpopt-build/lib
../../Interfaces/.libs/libipopt.so: undefined reference to `dlopen'
../../Interfaces/.libs/libipopt.so: undefined reference to `dlclose'
../../Interfaces/.libs/libipopt.so: undefined reference to `dlerror'
../../Interfaces/.libs/libipopt.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
make[3]: *** [ipopt] Error 1
make[3]: Leaving directory `/home/amigo/CoinIpopt-
build/Ipopt/src/Apps/AmplSolver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/amigo/CoinIpopt-build/Ipopt/src/Apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amigo/CoinIpopt-build/Ipopt'
make: *** [all-recursive] Error 1
How can I fix it? It seems to be related to versioned symbols (http://list
.coin-or.org/pipermail/ipopt/2013-November/003569.html).
I've edited the Makefile as suggested at the link above but it still
doesn't work.
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/230>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list