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

John Pye john.pye at anu.edu.au
Tue Dec 15 08:41:51 EST 2009

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 
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?


P.S. My build process after unpacking Ipopt and running get.Mumps and 
manually downloading mc27 and ma19 was

ADD_FFLAGS="-mmacosx-version-min=10.4" LDFLAGS="-flat_namespace" 
./configure --prefix=/users/john/Ipopt-inst

make -j2

make install

More information about the Ipopt mailing list