[kaffe] Runtime native link loader problems (Darwin)

Michael Franz mvfranz at gmail.com
Mon Dec 13 05:16:28 PST 2004


Hi,

In trying to verify what broke the Darwin and other BSD buids, I
checked out the December 1, 2004 02:00 code.  This version was suppose
to work, however I was unable to get it to run.  Building was fine. 
Here is the error message:

make  check-local
cd test && make check
Making check in regression
Making check in compile_time
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/UnsatisfiedLinkError: dlcompat: file
"/Users/mfranz/development/kaffe-dev/intrp/kaffe/libraries/clib/security/libnio.so"
not found
Adding its directory to LD_LIBRARY_PATH may help.
        at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:native)
        at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:76)
        at java.lang.Throwable.fillInStackTrace(Throwable.java:502)
        at java.lang.Throwable.<init>(Throwable.java:157)
        at java.lang.Error.<init>(Error.java:81)
        at java.lang.LinkageError.<init>(LinkageError.java:72)
        at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:72)
        at java.lang.Runtime.loadLibrary(Runtime.java:172)
        at java.lang.System.loadLibrary(System.java:140)
        at gnu.java.nio.channels.FileChannelImpl.<clinit>(FileChannelImpl.java:81)
        at java.io.FileDescriptor.<clinit>(FileDescriptor.java:63)
        at java.lang.System.<clinit>(System.java:59)
        at java.lang.ClassLoader.<init>(ClassLoader.java:115)
        at java.lang.ClassLoader.<init>(ClassLoader.java:111)
        at java.security.SecureClassLoader.<init>(SecureClassLoader.java:60)
        at java.net.URLClassLoader.<init>(URLClassLoader.java:548)
        at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
        at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:35)
make[5]: *** [ClassToInterface.class] Abort trap

Now, it might be that this is an unrelated problem - I have not
checked this same code base on any other platform.

Michael




More information about the kaffe mailing list