Gazebo | Ignition | Community
Ask Your Question

Custom transport message: where do I put the shared library?

asked 2016-04-20 22:14:43 -0600

pcdangio gravatar image

updated 2016-04-20 22:16:36 -0600

I made a custom gazebo message using the official tutorial. After building the custom message, I wind up with a shared library "". I'm able to successfully compile and link a gazebo plugin using the custom message and its shared library.

Where do I put the shared library so that my gazebo plugin can load the it at runtime? I know I can just add the shared library's path to LD_LIBRARY_PATH, but this seems dirty considering only this one plugin will use the custom message and its library. Is there any other way to get it to work?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-20 23:34:50 -0600

wangshanren gravatar image

I think you can try to edit the GAZEBO_PLUGIN_PATH in .bashrc

edit flag offensive delete link more


I tried putting the shared library in the gazebo plugin path as well... had no luck. I could only get it to work if the shared library's directory was in LD_LIBRARY_PATH. I'm at work right now, but will retry putting it in the plugin path one more time when I get home.

pcdangio gravatar imagepcdangio ( 2016-04-21 08:59:26 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-04-20 22:14:43 -0600

Seen: 444 times

Last updated: Apr 20 '16