ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rpath for third party library

asked 2011-11-29 08:08:06 -0500

Aditya gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-01 03:07:57 -0500

Aditya gravatar image

It seems the only solution is to ensure rpath is guaranteed by the third party build system. In my case, I was wrapping my own library which uses CMake. I added CMake rpath commands to the library build scripts.

edit flag offensive delete link more

Question Tools


Asked: 2011-11-29 08:08:06 -0500

Seen: 231 times

Last updated: Dec 01 '11