[Java-gnome-developer] Re: continuously getting unsatisfiedlinkerror
Brought to you by:
afcowie
From: Rishabh M. <rma...@gm...> - 2004-11-29 22:26:26
|
could the problem be that i have a glade2.4.jar in /usr/share/java and a libgladejava2.6.so in /usr/lib/jni. I tried making a symbolic lick(ln -s) like: ln -s libgladejava2.6.so libgladejava2.4.so and that gives me an error dump from the VM(I am using sun VM 1.4.2_06). I am attaching the log if someone wants to have a look. On Mon, 29 Nov 2004 16:16:23 -0600, Rishabh Manocha <rma...@gm...> wrote: > Hey guys, > I am trying to run my program but continuously get the following error: > Exception in thread "main" java.lang.UnsatisfiedLinkError: no > gladejava2.4 in java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) > at java.lang.Runtime.loadLibrary0(Runtime.java:788) > at java.lang.System.loadLibrary(System.java:834) > at org.gnu.glade.LibGlade.<clinit>(LibGlade.java:217) > at org.mdirconfig.MdirConfig.<init>(MdirConfig.java:50) > at org.mdirconfig.MdirConfig.main(MdirConfig.java:129) > > I have followed all steps i could think of. My .so files were actually > in /usr/lib so i moved them to /usr/lib/jni, added it to > /etc/ld.so.conf and then did ldconfig. > I then did: > export LD_LIBRARY_PATH=/usr/lib/jni > > I also added the classpath into the jar manifest file(gtk2.4.jar, > gnome2.8.jar,glade2.4.jar in /usr/share/java) but keep getting this > error. > > Can someone give me a hint as to what I am doing wrong. > Thanks > Rishabh > |