stub_analytics_plugin.so compile with other library

Comments

3 comments

  • Avatar
    Nx Support

    Looks like the server cannot discover that library. Try to add to the directory with other server libraries, or make so that plugin binary has the correct path to that directory inside.

     

    Please, let us know if that helps.

  • Avatar
    lechee lai

    server libraries already in system wide and CMakefile already describe those necessary 

  • Avatar
    Nx Support

    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.