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
kim_marivoet
41 Posts
503
0
Posted 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