Java 1.6 has been released for Mac OS X 10.5.2. SPLAT-VO fails to
start with this configuration on Dual-Core Intel Xeon machines. The
following error, which is similar to one fixed for i386 architectures
by a recent patch, occurs:
> java -jar -Dsplat.etc.dirsplat.etc.dir=${splat_dir}/etc $
{splat_dir}/lib/splat/splat.jar &
> May 9, 2008 2:50:25 PM uk.ac.starlink.ast.AstPackage isAvailable
INFO: java.lang.UnsatisfiedLinkError: couldn't load library jniast: /
Users/johnrector/Applications/splat-vo/lib/x86_64/libjniast.jnilib:
java.lang.UnsatisfiedLinkError: couldn't load library jniast: /Users/
johnrector/Applications/splat-vo/lib/x86_64/libjniast.jnilib:
at uk.ac.starlink.util.Loader.loadLibrary(Loader.java:149)
at uk.ac.starlink.ast.AstObject.<clinit>(AstObject.java:43)
at uk.ac.starlink.ast.AstPackage.isAvailable(AstPackage.java:36)
at uk.ac.starlink.splat.ast.ASTJ.isAvailable(ASTJ.java:126)
at uk.ac.starlink.splat.iface.SplatBrowserMain
$1.run(SplatBrowserMain.java:204)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at
java
.awt
.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
300)
at
java
.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
210)
at
java
.awt
.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
200)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
195)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
187)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.UnsatisfiedLinkError: no jniast in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at uk.ac.starlink.util.Loader.loadLibrary(Loader.java:114)
... 12 more
May 9, 2008 2:50:25 PM uk.ac.starlink.ast.AstPackage isAvailable
WARNING: JNIAST load failed - no WCS processing
No JNIAST support, no point in continuing (--ignore 1 to ignore)
Notice that the program is looking for a lib sub-directory, x86-64,
that's not in the distribution. When the Java version is switched to
1.5 in the same terminal session, SPLAT starts correctly, i.e., it's
the new Java version causing the problem.
Where can I find out what's needed to build SPLAT from the source
distribution? The configuration, dependencies and build script are of
particular interests.
______________________________
John Rector
IPAC, California Institute of Technology
MS 314–6
1200 E. California Ave.
Pasadena, CA 91125
USA
Tel: (626) 395—8577
|