Date: Mon, 14 Jan 2008 14:18:33 +0100 From: Marcin Cieslak <saper@system.pl> To: freebsd-java@freebsd.org Subject: Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError Message-ID: <fmfnf9$rnt$2@ger.gmane.org> In-Reply-To: <200801140931.m0E9VwZg094758@www.freebsd.org> References: <200801140931.m0E9VwZg094758@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Keller wrote: > java.lang.UnsatisfiedLinkError: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) > at java.lang.Runtime.loadLibrary0(Runtime.java:823) > at java.lang.System.loadLibrary(System.java:1030) > at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) > at java.security.AccessController.doPrivileged(Native Method) > at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:91) > at de.uplanet.setup.MainFrame.<init>(Unknown Source) > at de.uplanet.setup.SetupController.go(Unknown Source) > at de.uplanet.lucy.setup.ServerSetup.main(Unknown Source) On my 7.0-PRERELEASE amd64 box this symbol is defined by the JPEG library: % nm /usr/local/lib/libjpeg.so.9 | grep resync 000000000000fb25 T jpeg_resync_to_restart Does adding java.library.path=/usr/local/lib (e.g. java -Djava.library.path ...) help? Does reinstalling your JPEG library help? Can you provide some code to repeat this error? --Marcin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fmfnf9$rnt$2>