How can I tell a rosjava node where to look for .so files?
I have a Java ROS node that depends on a 3rd party .so file that I've packaged up as a separate package.
Typically the cpp-exports in the manifest tell other C/C++ projects how to link to those libraries. But in the case of Java while providing paths to jar files is clear, how to point to an .so is less clear.
So far I've:
- I tried blindly using the jar path method but to the .so dir which failed.
- I tried using LD_LIBRARY_PATH which seemed to help it figure out where to look, but seemed to break other things, and seems ill advised anyway.
TLDR: Is there a clean way to provide, to rosjava nodes, a path to .so file dependencies via the manifest exports?