M
Marcelo
I would like to know what happens here....
In one computer (terminal) the program executes as normal, but in
another computer (terminal with ssh connection) it doesnt work anymore.
The message that I have is:
The library that I use for the JNI program is called libPrompt.so,
the command line that I use to compile this shared library is:
g++ Prompt.c -Wno-deprecated -shared -fpic -o libPrompt.so
Can anybody help me?
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/mmfernan/workspace/Prompt/libPrompt.so:
/home/mmfernan/workspace/Prompt/libPrompt.so: cannot open shared object
file: No such file or directory at
java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at Prompt.<clinit>(Prompt.java:13)
In one computer (terminal) the program executes as normal, but in
another computer (terminal with ssh connection) it doesnt work anymore.
The message that I have is:
The library that I use for the JNI program is called libPrompt.so,
the command line that I use to compile this shared library is:
g++ Prompt.c -Wno-deprecated -shared -fpic -o libPrompt.so
Can anybody help me?
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/mmfernan/workspace/Prompt/libPrompt.so:
/home/mmfernan/workspace/Prompt/libPrompt.so: cannot open shared object
file: No such file or directory at
java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at Prompt.<clinit>(Prompt.java:13)