Closed 553226713 closed 6 years ago
As Linux does not support changing dynamic executable path on dlopen. You need to set the LD_LIBRARY_PATH to the tmp folder before launching.
This is mentioned in the documentation.
There is probably a better way to do it. Or creating a shell script to do it.
Patrice
Le jeu. 6 sept. 2018 05:43, 553226713 notifications@github.com a écrit :
hello,i used it in ubuntu16.4,but when i call the initLibraries() method,it throw a exception whih " /tmp/fgdbsharedlibs/0.1.4/libFGDBJNIWrapper.so: libFileGDBAPI.so: cannot open shared object file: No such file or directory". but i check the floder " /tmp/fgdbsharedlibs/0.1.4",it's existd. thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/frett27/jfgdb/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/ADpa74xuWCJAkwTaipt5O_JZ9R6iMR84ks5uYJnUgaJpZM4WcG3A .
thanks,it's work. and i found copy the .os files to 'usr/lib' folder ,also to slove the problem。
yes ! thank's
you can also use the ldconfig if you want to separate the .so
https://linux.die.net/man/8/ldconfig see : man ldconfig
Patrice
Le lun. 10 sept. 2018 à 03:21, 553226713 notifications@github.com a écrit :
thanks,it's work. and i found copy the .os files to 'usr/lib' folder ,also to slove the problem。
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/frett27/jfgdb/issues/4#issuecomment-419761368, or mute the thread https://github.com/notifications/unsubscribe-auth/ADpa742lZkBNxPyV9DXCu090hmdVBDTZks5uZb6agaJpZM4WcG3A .
hello,i used it in ubuntu16.4,but when i call the initLibraries() method,it throw a exception whih " /tmp/fgdbsharedlibs/0.1.4/libFGDBJNIWrapper.so: libFileGDBAPI.so: cannot open shared object file: No such file or directory". but i check the floder " /tmp/fgdbsharedlibs/0.1.4",it's existd. thanks.