[Ipopt] Compiling error - Problem Solved

A. Ismael F. Vaz aivaz at dps.uminho.pt
Sat Apr 25 08:02:39 EDT 2009

Dear Suresh and Andrey,

Many thanks for your reply.

I was using the fort77 Fortran compiler and when this happens we have to
force the code to link with the libg2c library.
This can be done by issuing "../configure ADD_CFLAGS='-lg2c'
ADD_FFLAGS='-lg2c' ADD_CXXGLAGS='-lg2c'".

The second approach is to use the gfortran by issuing "../configure
F77='gfortran'". In this case the linkage with the libg2c is not necessary.

In both approaches I was able to obtain the requested binaries.

Best regards,

-----Original Message-----
From: ipopt-bounces at list.coin-or.org [mailto:ipopt-bounces at list.coin-or.org]
On Behalf Of A. Ismael F. Vaz
Sent: sábado, 25 de Abril de 2009 1:22
To: ipopt at list.coin-or.org
Subject: [Ipopt] Compiling error

Dear All,

I am obtaining the Ipopt compilation error in the attached file. I seems
some library is missing for the compilation.

Can anyone please help?

I am using a Ubunto 8.10 Linux box.

Best regards,
Ismael Vaz

More information about the Ipopt mailing list