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

Hello,

I don’t know much about JNI, but I assume you’re on some POSIX system (rpath). Have you tried to add the path where the VTK libraries are to LD_LIBRARY_PATH (DYLD_LIBRARY_PATH in MacOS)? If your system is not something from Mars, it should search for libraries there before looking in the executable’s rpath entries.

regards,

Paulo

2 Likes