[Ipopt] Installation woes

Davin davinlior at gmail.com
Tue Mar 12 12:03:16 EDT 2019


Hello,

I'm compiling on Linux with HSL and appear to be experiencing linking
issues.
I configure with:

../configure
--with-hsl-incdir="$HOME/tmp/coinhsl-linux-x86_64-2015.06.23/include"
--with-hsl-lib="-L$HOME/tmp/coinhsl-linux-x86_64-2015.06.23/lib"
ADD_CFLAGS=-fopenmp ADD_FFLAGS=-fopenmp ADD_CXXFLAGS=-fopenmp

configure appears to succeed, make appears to succeed, and make test fails
with:

g++ -O3 -pipe -DNDEBUG -Wparentheses -Wreturn-type -Wcast-qual -Wall
-Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
-Wno-long-long -fopenmp -DIPOPT_BUILD -o .libs/hs071_cpp hs071_main.o
hs071_nlp.o  ../src/Interfaces/.libs/libipopt.so
-L/home/user/tmp/coinhsl-linux-x86_64-2015.06.23/lib -llapack -lblas -lm
-ldl -Wl,--rpath -Wl,/home/user/tmp/CoinIpopt/build/lib
../src/Interfaces/.libs/libipopt.so: undefined reference to
`ma77_finalise_d'
../src/Interfaces/.libs/libipopt.so: undefined reference to
`ma77_input_vars_d'
../src/Interfaces/.libs/libipopt.so: undefined reference to
`ma77_input_reals_d'
../src/Interfaces/.libs/libipopt.so: undefined reference to
`ma77_factor_solve_d'

and a longer list of undefined references. It's not related to the fopenmp
flags, because the result is the same when these are omitted. echo
$LD_LIBRARY_PATH also produces
:/home/user/tmp/coinhsl-linux-x86_64-2015.06.23/lib/

I'm not sure what other information I should provide.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20190312/4124e8e0/attachment-0001.html>


More information about the Ipopt mailing list