subdirectories of /usr/lib are not searched by default (except for arch triplets like x86_64-linux-gnu). you have add the path to the linker search paths (-L flag on command line, link_directories in cmake) when the path is added the linker should prefer the shared libraries over the static one.
** Bug watch added: Debian Bug tracker #503314 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503314 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832334 Title: linking error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lp-solve/+bug/832334/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs