[kaffe] Is it a bug? System.loadLibrary() fails...
Kim, Seong Beom
sbkim at mail.marusys.com
Fri Jan 10 02:21:01 PST 2003
Dear members,
This is the source code for simple test application...
### begins here
import java.lang.*;
public class LoadTest
{
public static void main( String[] args )
{
System.loadLibrary( "pthread" );
}
};
### ends here
When I executed the java application with Kaffe on my i386-linux-red hat =
7.3,
it failed with this message.
java.lang.UnsatisfiedLinkError: libpthread: not found
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:38)
at java.lang.Error.<init>(Error.java:81)
at java.lang.LinkageError.<init>(LinkageError.java:21)
at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.jav=
a:21)
at java.lang.Runtime.loadLibrary(Runtime.java:151)
at java.lang.System.loadLibrary(System.java:249)
at LoadTest.main(LoadTest.java:7)
This is the version info. of kaffe. (java -fullversion)
Engine: Interpreter Version: 1.1.x-cvs Java Version: 1.1
Configuration/Compilation options:
Compile date : 2003. 01. 07. (=C8=AD) 17:04:43 UTC
Compile host : ims
Install prefix: /usr/local/kaffe
Thread system : unix-jthreads
CC : gcc
CFLAGS : -g -O2 -Wall -Wstrict-prototypes
LDFLAGS :
ChangeLog head: 2002-12-21 Dalibor Topic <robilad at yahoo.com>
If I do the same test with kaffe 1.0.7 version, loadLibrary() does not fa=
il.
Is it a bug? Don't you have this problem?
Sincerely,
Kim, Seong Beom
-----------------------------------
Seong-beom Kim
Research Engineer
Marusys, Co. Ltd.
Seoul, Korea
+82-2-3445-3999 (117)
More information about the kaffe
mailing list