Public bug reported: 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 should be /usr/lib/gcc/x86_64-linux-gnu/6. 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. ** Affects: coinor-ipopt (Ubuntu) Importance: Undecided Status: New ** Description changed: 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. + that the correct path should be /usr/lib/gcc/x86_64-linux-gnu/6. 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1659835 Title: missing dependencies in ipopt.pc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coinor-ipopt/+bug/1659835/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs