java.lang.UnsatisfiedLinkError
Michael R. Harper
mikihasa@worldnet.att.net
Sat, 21 Feb 1998 03:57:57 -0500
I changed the subject of my note to a thread that already existed in
hopes that it would generate a response. It appears that if I can
extend what Glynn Clements wrote in response to a similar question:
>> Then, I started my own application which runs without
>> problems under "java" and it failed with
>>
>> 890[frank@linux]% kaffe start eads01
>> java.lang.UnsatisfiedLinkError: no awt in shared library path
>
>There isn't a Toolkit available for Kaffe 0.9+ yet, so you can't run
>programs which use the AWT.
>
>--
>Glynn Clements <glynn@sensei.co.uk>
then I have to assume that I cannot run programs which use net and zip?
This rules out a few applications now, doesn't it? Here is my previous
post:
> I think I have a setup or configuration problem, as evidenced by:
>
> mclean1: {192} % jar
> java.lang.UnsatisfiedLinkError: no zip in shared library path
> at java/lang/Throwable.(line unknown, pc 0x1a8e37)
> at java/lang/Error.(line unknown, pc 0x1a8f89)
> at java/lang/LinkageError.(line unknown, pc 0x1a8f11)
> at java/lang/UnsatisfiedLinkError.(line unknown, pc
> 0x1a8e99)
> at java/lang/Runtime.loadLibrary(line unknown, pc 0x1aa73f)
> at java/lang/System.loadLibrary(line unknown, pc 0x1a8721)
> at java/util/zip/CRC32.(40)
> at sun/tools/jar/Main.(45)
> at sun/tools/jar/Main.main(523)
>
> mclean1: {193} % jdb
> java.lang.UnsatisfiedLinkError: no net in shared library path
> at java/lang/Throwable.(line unknown, pc 0x1da54f)
> at java/lang/Error.(line unknown, pc 0x1da6a1)
> at java/lang/LinkageError.(line unknown, pc 0x1da629)
> at java/lang/UnsatisfiedLinkError.(line unknown, pc
> 0x1da5b1)
> at java/lang/Runtime.loadLibrary(line unknown, pc 0x1d5f0f)
> at java/lang/System.loadLibrary(line unknown, pc 0x1d6ae1)
> at java/net/InetAddress.(line unknown, pc 0x1df056)
>
> What's my problem (besides being a newbie)?
>
> Here is the relevant setenv information:
>
> CLASSPATH=.:/usr/local/bin/classes.zip
> KAFFEHOME=/usr/local/bin
> LD_LIBRARY_PATH=/usr/home/sds/share/kaffe/lib:/usr/home/sds/lib
>
> and listings of the library paths:
>
> mclean1: {195} % ls /usr/home/sds/share/kaffe/lib
> appletviewer.properties font.properties.lv
> awt.properties font.properties.pl
> content-types.properties font.properties.ru
> font.properties font.properties.tr
> font.properties.cs font.properties.zh
> font.properties.el font.properties.zh_TW
> font.properties.hu psfont.properties.ja
> font.properties.ja rmic.properties
> font.properties.ko security
> font.properties.lt serialver.properties
>
> mclean1: {197} % ls -l /usr/home/sds/lib
> total 1517
> lrwxrwxr-x 1 sds www 15 Dec 9 04:35 libagent.a ->
> libagent.a.0.92
> -rw-r--r-- 1 sds www 23670 Dec 9 04:35 libagent.a.0.92
> lrwxrwxr-x 1 sds www 17 Dec 9 04:35 libkaffevm.a ->
> libkaffevm.a.0.92
> -rw-r--r-- 1 sds www 791998 Dec 9 04:35 libkaffevm.a.0.92
> lrwxrwxr-x 1 sds www 16 Dec 9 04:35 libnative.a ->
> libnative.a.0.92
> -rw-r--r-- 1 sds www 558288 Dec 9 04:35 libnative.a.0.92
> lrwxrwxr-x 1 sds www 13 Dec 9 04:35 libnet.a -> libnet.a.0.92
> -rw-r--r-- 1 sds www 111238 Dec 9 04:35 libnet.a.0.92
> lrwxrwxr-x 1 sds www 13 Dec 9 04:35 libzip.a -> libzip.a.0.92
> -rw-r--r-- 1 sds www 29198 Dec 9 04:35 libzip.a.0.92
>
> Both the net and zip libraries appear to be present.
>
> Sincerely,
>
> Michael R. Harper
> mikihasa@worldnet.att.net
>