[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Library problem with gnome|gtk-java?



Ben Burton <bab@debian.org> wrote:
> 
> > arnaud@debian:~/docs/java/gnome$ LD_LIBRARY_PATH=/usr/lib/jni gij-3.3 First
> > is OK :)
> 
> Hmm, what happens if you use LTDL_LIBRARY_PATH instead of
> LD_LIBRARY_PATH?  This is essentially what the gij-wrapper script is
> doing.
> 
> If LD_LIBRARY_PATH works but LTDL_LIBRARY_PATH does not then the wrapper
> script will need to be changed.  It was written and tested against
> gij-3.2; perhaps gij has changed its library loading internals since then.

arnaud@debian:~/docs/java/gnome$ LTDL_LIBRARY_PATH=/usr/lib/jni gij-3.3 First
Exception in thread "main" java.lang.UnsatisfiedLinkError: GNOMEJava: file not found
   at java.lang.Runtime._load(java.lang.String, boolean) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.Runtime.loadLibrary(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.System.loadLibrary(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
   at org.gnu.gnome.Program.<clinit>() (Unknown Source) 
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0)
   at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.4.0.0)
   at First.main(java.lang.String[]) (Unknown Source)

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.



Reply to: