Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 10:34:31 -0500
From:      Dwayne MacKinnon <dmk@ncf.ca>
To:        freebsd-java@freebsd.org
Subject:   Problem with libsplashscreen.so
Message-ID:  <11009716.OCkRm4GAce@hudson.private.lan>

next in thread | raw e-mail | index | archive | help
Hi,

I've run into this bug using openjdk-7.11.21_1 on 9.1-RELEASE, both i386 and 
amd64. I was attempting to run anathema (http://anathema.github.com/) and got 
the following errors:

Java version 1.7.0_011 detected in /usr/local/openjdk7/jre/bin/java...
Running Anathema from /usr/home/dwayne/bin/anathema with repository 
/home/dwayne/.anathema/repository
17:35:41.061 [main] INFO  net.sf.anathema.Anathema - Launching Anathema
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at net.sf.anathema.AnathemaBootLoader.main(AnathemaBootLoader.java:19)
Caused by: java.lang.UnsatisfiedLinkError: 
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: 
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol 
"jpeg_resync_to_restart"
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
        at java.lang.Runtime.loadLibrary0(Runtime.java:845)
        at java.lang.System.loadLibrary(System.java:1084)
        at 
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
        at 
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:121)
        at 
net.sf.anathema.AnathemaSplashscreen.hasSplashscreen(AnathemaSplashscreen.java:71)
        at 
net.sf.anathema.AnathemaSplashscreen.<init>(AnathemaSplashscreen.java:21)
        at net.sf.anathema.ProxySplashscreen.<init>(ProxySplashscreen.java:6)
        at 
net.sf.anathema.ProxySplashscreen.<clinit>(ProxySplashscreen.java:5)
        at net.sf.anathema.Anathema.displayStatus(Anathema.java:61)
        at net.sf.anathema.Anathema.loadPreferences(Anathema.java:28)
        at net.sf.anathema.Anathema.startApplication(Anathema.java:22)
        ... 5 more


I think this might be related to java/119654, but my java skills are somewhat 
shaky. 

Running the same application using the linux jre from sun/oracle works 
perfectly.

Cheers,
DMK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11009716.OCkRm4GAce>