Mac OS X 10.6.4 Installation Nightmare
|Reported by:||guest||Owned by:||ipopt-team|
I successfully installed IPOPT on my Linux box with no problem at all and it runs beautifully. Thank you!
Now, I am trying to install on my Intel Mac running 10.6.4 with GCC 4.2.1 without success. I have taken 2 days to try all possible combinations of configure flags I can think of as explained in the "Detailed Installation Information".
I have been able to successfully compile and link the source. However, at runtime I have unfound symbols:
dyld: Symbol not found: g95_filename
Referenced from: /usr/local/lib/libipopt.0.dylib
Expected in: flat namespace
It seems that the ipopt library cannot find the fortran libraries. I have tried with ifort, gfortran, and g95 and providing explicit paths to the libraries, to no avail.
Do you know of anyone who has had success installing in OS X 10.6.4?
What are their settings and configure flags?
I basically have a brand new computer, and am willing to change my configuration and start fresh as needed to get a working fit for IPOPT.
I have tried many combination of flags. For example,
../configure ADD_CFLAGS="-fno-common -fexceptions -no-cpp-precomp -fPIC" ADD_CXXFLAGS="-fno-common -fexceptions -no-cpp-precomp -fPIC" ADD_FFLAGS="-x f77-cpp-input -fPIC -fno-common" F77=gfortran CC=gcc CXX=g++ CXXLIBS="-L/usr/lib/gcc/i686-apple-darwin10/4.2.1 -lstdc++" FLIBS="-lgfortran"
Any help you can provide here will be greatly appreciated.