pluginlib
pluginlib copied to clipboard
getCatkinLibraryPaths() is hardcoded to $CATKIN_PREFIX_PATH/lib
https://github.com/ros/pluginlib/blob/54c925eebf8fd8db0c5e7e9ea18cba1d32402909/pluginlib/include/pluginlib/class_loader_imp.hpp#L313
That's not a portable way of determining the catkin library path. You cannot rely on lib being a correct default on all systems. At least on 64-bit systems, lib64 should be tried first. You could simply check whether the compiler is building in 64 or 32 bit mode.