Custom transport message: where do I put the shared library?
I made a custom gazebo message using the official tutorial. After building the custom message, I wind up with a shared library "libCustomMessage.so". 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?