List:NDB/J« Previous Message
From:Johan Jerräng Date:May 27 2009 2:04pm
Subject:UnsatisfiedLinkError
View as plain text  
Hi!

I have managed to build NDB/j from NDB/Bindings 0.7.1 using Sun Studio 12 on
a T2000 SPARC machine. The MySQL cluster version installed is 7.0.5.

I then wrote a simple java test program to perform some inserts into a table
and I also managed to compile it.
However, when I try to run it I get the following errors:
CLASSPATH=/home/johanj/ndb-bindings-0.7.1/java/ndbj.jar:/home/johanj/ndb-bindings-0.7.1/java/lib/jta-spec1_0_1.jar:.
LD_LIBRARY_PATH=/opt/mysql/mysql-cluster/lib/ java -d64 Test
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/opt/mysql/mysql-cluster/lib/libndbj.so: ld.so.1: java: fatal:
libmtmalloc.so.1: DF_1_NOOPEN tagged object may not be dlopen()'ed
        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:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at Test.main(test.java:7)

Any ideas what this means and how to solve it?

BR,

Johan J

Thread
UnsatisfiedLinkErrorJohan Jerräng27 May 2009