[Ipopt] libcoinlapack.so: undefined reference to `dlarfp_'

Stefan Vigerske stefan at math.hu-berlin.de
Tue Aug 2 05:45:09 EDT 2016


Hi,

the Lapack build system of COIN-OR (ThirdParty/Lapack) assumes a Lapack 
3.4.2 source. It seems that dlarfp was removed somewhere between Lapack 
3.2.1 and Lapack 3.4.2.
Best would be if you just provide the correct Lapack version by 
executing the get.Lapack script int ThirdParty/Lapack.

Stefan

On 08/02/2016 10:13 AM, 叶剑华 wrote:
> Hello to the community,
> I have installed Ipopt-3.12.6 successfully in Deepin (Linux based on Debian). I'd like to use Ipopt in my C program. the content of my pro file is as follows:
>
>
> TEMPLATE = app
> TARGET = IpoptForRPOQiuShi
> DESTDIR = /home/yjh/Documents/VSM_Bin
> INCLUDEPATH += . /home/yjh/Documents/CoinIpopt/build/include/coin /home/yjh/Documents/CoinIpopt/build/include/coin/ThirdParty
> LIBS += -L/home/yjh/Documents/CoinIpopt/build/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lipopt -ldl -lcoinhsl -lcoinlapack -lcoinblas -lgfortran -lm -lquadmath   -lstdc++ -lm
> CONFIG +=debug warn_off
> # Input
> HEADERS += data.h
> SOURCES += IpoptForRPOQiuShi.c
>
>
> After I typed qmake,make, and encountered the mistakes:
>
>
> gcc -c -m64 -pipe -g -w -D_REENTRANT -fPIE -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I. -I../CoinIpopt/build/include/coin -I../CoinIpopt/build/include/coin/ThirdParty -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o IpoptForRPOQiuShi.o IpoptForRPOQiuShi.c
> g++ -m64 -o ../VSM_Bin/IpoptForRPOQiuShi IpoptForRPOQiuShi.o   -L/usr/X11R6/lib64 -L/home/yjh/Documents/CoinIpopt/build/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lipopt -ldl -lcoinhsl -lcoinlapack -lcoinblas -lgfortran -lquadmath -lstdc++ -lm -lQt5Gui -lQt5Core -lGL -lpthread
> /home/yjh/Documents/CoinIpopt/build/lib/libcoinlapack.so: undefined reference to `dlarfp_'
> collect2: error: ld returned 1 exit status
> make: *** [../VSM_Bin/IpoptForRPOQiuShi] Error 1
>
>
> I used lapack-3.2.1, please help me. Thanks a lot.
>
>
> Best regards,
> Jianhua
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>


-- 
http://www.gams.com/~stefan


More information about the Ipopt mailing list