This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: System.loadLibrary in gij problems
- To: Oskar Liljeblad <osk at hem dot passagen dot se>
- Subject: Re: System.loadLibrary in gij problems
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Fri, 21 Apr 2000 22:43:50 -0700 (PDT)
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <20000409104130.A31019@strix.eductussyd.se>
>>>>> "Oskar" == Oskar Liljeblad <osk@hem.passagen.se> writes:
Oskar> I'm generating a libgcjreadline.so library in my gcj API for readline.
Oskar> This works fine when I compile test programs to native executables,
Oskar> but when I use gij I get this error:
Oskar> $ gij Keys
Oskar> java.lang.UnsatisfiedLinkError: gcjreadline: file not found
I honestly don't know why this happens.
One idea would be to debug gij, and put a breakpoint on sys_dl_open.
Then you can "next" over the dlopen() call and finally see if you can
get a better error message, one that explains what is really going on.
Tom