Usually that indicates that there's an upstream package whose catkin_package(DEPENDS) are not set up correctly.

If the -L flag is really required for orocos_kdl, that could be further screwing things up, even if it's properly depended on by an upstream package.