2
votes

I am trying to install ipopt from mac terminal, but I got the following error: terminal

/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.6/src/callback.o build/temp.macosx-10.6-intel-3.6/src/pyipoptcoremodule.o -L/usr/local/lib -lipopt -lcoinblas -lcoinmumps -lcoinmetis -lcoinlapack -ldl -lm -o build/lib.macosx-10.6-intel-3.6/pyipopt/pyipoptcore.cpython-36m-darwin.so

ld:
library not found for -lipopt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1

2
It seems missing ipopt library, can you post the info of brew search ipopt?delta

2 Answers

0
votes

ipopt library is missing. Try

then run pip install ipopt again.

0
votes

i'm not sure if it's too late, but you can try here

git clone https://github.com/coin-or/Ipopt
make
make test
make install

that includes the missing files Ipopt/src/Interfaces/IpIpStdCInterface.h that you mentioned before