[Ipopt] Mac OS X error 'dyld: Symbol not found: __gfortran_internal_pack' when running IPOPT 3.8.1

Stefan Vigerske stefan at math.hu-berlin.de
Wed Dec 16 09:10:27 EST 2009


it seem to miss some gfortran library. You you try adding corresponding
libraries by hand (adding some -lgfortran... to LDFLAGS).
Or try --disable-shared.


John Pye 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

Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics

More information about the Ipopt mailing list