[Ipopt] Mac OS X error 'dyld: Symbol not found: __gfortran_internal_pack' when running IPOPT 3.8.1
Steven Dirkse
sdirkse at gams.com
Wed Dec 16 10:43:44 EST 2009
John,
I just had the same error yesterday on OSX building a C-based solver
that uses some Fortran libs. The -lgfortran flag on the link command
fixed things.
-Steve
On Tue, Dec 15, 2009 at 8:41 AM, John Pye <john.pye at anu.edu.au> wrote:
> Hi all
>
> I have run into this error, 'dyld: Symbol not found:
> __gfortran_internal_pack' when running my code against IPOPT on Mac OS X
> 10.5 with IPOPT 3.8.1 building with GCC 4.0.1 (Apple build 5490).
>
> This is *after* following the suggestions from
> https://projects.coin-or.org/BuildTools/wiki/current-issues
> to use LDFLAGS="-flat_namespace" as well as a few other things.
>
> I noticed that when I use HSL as my solver, I don't get any errors.
> However, when I try to use MUMPS, that is when this error occurs. So it
> seems like it's possible a MUMPS bug, but hopefully one that we can sort
> out here.
>
> Does anyone have any suggestions? Any further information I can provide?
>
> Cheers
> JP
>
>
> P.S. My build process after unpacking Ipopt and running get.Mumps and
> manually downloading mc27 and ma19 was
>
> ADD_CXXFLAGS="-mmacosx-version-min=10.4"
> ADD_CFLAGS="-mmacosx-version-min=10.4"
> ADD_FFLAGS="-mmacosx-version-min=10.4" LDFLAGS="-flat_namespace"
> ./configure --prefix=/users/john/Ipopt-inst
>
> make -j2
>
> make install
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
--
Steven Dirkse, Ph.D.
GAMS Development Corp., Washington DC
Voice: (202)342-0180 Fax: (202)342-0181
sdirkse at gams.com
http://www.gams.com
More information about the Ipopt
mailing list