Shared libraries can't be redistributed since they refer to their build path

Thank you Paulo, referencing the lib path in DYLD_LIBRARY_PATH instead of java.library.path solves the problem on macOS. For Windows, I could make it work by adding it to PATH. I haven’t tried Ubuntu yet, but I think this will work with LD_LIBRARY_PATH.

1 Like