stub_analytics_plugin.so compile with other library
Answeredhi,
I've compile stub with other library which can not running correctly
on CMakefile
log file show cannot open shared object
-
Hi Lechee,
My wild guess is that you can try to set your plugin's RPATH (do not confuse with RUNPATH!) to match the location of the dependencies that aren't discovered upon server startup. You can compile a plugin with a specific RPATH value, or, if you have a plugin that had already been built, you can change your RPATH with patchelf tool (refer to the 3rd answer from this thread for details: https://stackoverflow.com/questions/13769141/can-i-change-rpath-in-an-already-compiled-binary).
Please sign in to leave a comment.
Comments
3 comments