This post is more than 5 years old
5 Posts
0
2705
JCASScript.jar in Ubuntu
Ok, so i'm doing some developement and have gotten JCASScript.jar to work on both Solaris and Windows, but am having issues with Ubuntu. I've tried anything I can think of but still get the following:
v@ubuntu:~/Desktop/JCASScript-Linux-GCC3.3-3.2.35$ java -jar ./JCASScript.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.filepool.natives.FPLibraryNative.setLastError(I)V
at com.filepool.natives.FPLibraryNative.setLastError(Native Method)
at com.filepool.fplibrary.FPLibraryException.retrieveErrorString(Unknown Source)
at com.filepool.fplibrary.FPLibraryException. (Unknown Source)
at com.filepool.fplibrary.FPLogState. (Unknown Source)
at LogStateCommands.initLogState(LogStateCommands.java:43)
at Commands. (Commands.java:50)
at Casscript.runCasscript(Casscript.java:163)
at Casscript.main(Casscript.java:115)
LD_LIBRARY_PATH is set to the directory JCASScript.jar was installed
I ran ldconf to add the SDK libraries to ld
I modified CLASSPATH to point to where the FPLibrary.jar file is located
What am I missing?
kim_marivoet
41 Posts
0
July 8th, 2011 12:00
You are probably missing libstdc++5 (the SDK uses an older version of the c++ library than the one installed by ubuntu.
try to do
irgem
5 Posts
0
July 25th, 2011 14:00
Kim,
You were absolutely correct. Libstd++5 no longer gets shipped with Ubuntu and I had to apply a fix or workaround to get it fixed (http://www.digitalenigma.net/directory.php?include=archives&msgid=2009111000). Now it works like a champ.
Many Thanks,
George
jkings
1 Message
0
September 14th, 2011 16:00
This is a good response, its correct. Inside release notes exist a seccion named
Environment and system requirements that says cleary that SDK GCC 3.3 requires Libstd++5. I did not read this section but your response help to me.
Thanks.
jkings