rpath for third party library
I am wrapping a third party library in ROS. The library has a few executables as well. I use a custom Makefile to build the library and the executables. However, when I do "rosrun customlib executable", I get "shared library not found" error. Should I modify the Makefile and use rpath into the executables or is there any default mechanism to take care of such cases? Thanks.