Comment 0 for bug 1659835

Revision history for this message
Daniele E. Domenichelli (daniele.domenichelli) wrote :

On Ubuntu Yakkety, some of the libraries listed by in ipopt.pc (gfortran quadmath) from coinor-libipopt-dev (3.11.9-2.1) are not available when installing the coinor-libipopt-dev package. I think (but I couldn't test it) that adding libgcc-5-dev and libgfortran-5-dev to the dependencies this issue might be fixed, but I don't think this is a good solution.

The line responsible is this:

Libs: -L${libdir} -lipopt -ldmumps_seq -lblas -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -llapack -lblas -ldmumps_seq -ldl -lgfortran -lm -lquadmath -lblas -lm -ldl

The -L paths point to /usr/lib/gcc/x86_64-linux-gnu/5, but I suppose that the correct path is /usr/lib/gcc/x86_64-linux-gnu/5.

Perhaps the package was compiled with gcc 5 before the migration to gcc 6?

Interesting fact is that the same packages in debian (same exact version 3.11.9-2.1) contains only these libraries.

Libs: -L${libdir} -lipopt -ldmumps_seq -lblas -lblas -lm -ldl

Also interesting that linking ipopt without -lgfortran and -lquadmath does not cause any error.