Please don't depend on optional Ipopt libraries
This section:
libraries=[
'ipopt', 'coinblas',
#'coinhsl',
'coinmumps',
'coinmetis',
'coinlapack','dl','m',
],
is wrong. You depend on libraries 'coinblas', 'coinmumps', 'coinmetis', 'coinlapack', that are only built optionally when Ipopt builds them from its bundled sources.
On FreeBSD, for example, 'coinblas' and 'coinlapack' don't exist.
Additionally, 'dl' doesn't exist on FreeBSD. It is a linux-only library.
Hi,
FYI, I commented out those lines (from coinblas to the end of the list) and it compiled allright. Manage to import pyipopt in python, and interface it with pyOpt
I built this against conda-forge ipopt, and it appears that the correct libs are just ipopt, as ipopt itself should be linking its own dependencies and pyipopt shouldn't need to directly link blas, lapack, etc. Not sure if this is always right, but at least in my tests, libraries=['ipopt'] is all that's needed. The right answer may be different if ipopt is built as a static lib.