[Ipopt] IPOPT Installation Problem

Stefan Vigerske stefan at math.hu-berlin.de
Thu Apr 12 23:33:51 EDT 2012


Hi,

> Hello everyone:
> I am trying to install newer version of MATLAB 2012a x64 with gcc 4.4, g++ 4.4, and gfortran 4.3 on my friend's Ubuntu 10.04, according to
> http://www.mathworks.co.uk/support/compilers/R2012a/glnxa64.html
> BTW, I am using IPOPT 3.10.2
> After I "configure" and "sudo make"
> (sudo  ../configure CXX=g++-4.4  CC=gcc-4.4  F77=gfortran-4.3  ADD_CXXFLAGS="-fPIC -fexceptions"  ADD_CFLAGS="-fPIC -fexceptions"  ADD_FFLAGS="-fPIC -fexceptions")
> I then ran the command "sudo make test", but it failed and gave following message:
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> make[2]: *** [hs071_f] Error 1
> make[2]: Leaving directory `/usr/local/Ipopt-3.10.2/build/Ipopt/test'
> make[1]: *** [unitTest] Error 2
> make[1]: Leaving directory `/usr/local/Ipopt-3.10.2/build/Ipopt'
> make: *** [test] Error 2

What was the command executed by "sudo make test" ?

Stefan

>
>
> I hope the information below can help you guys making suggestions. Any help is appreciated.
>
> Best Regards
>
> Stephen
>
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt



More information about the Ipopt mailing list