On Tue, 28 Nov 2006, Peter W. Draper wrote:
>> However, upon getting it installed, JNINDF doesn't seem to work, as when I
>> load in a spectrum I get:
>>
>> gala:~/data bradc$ splat gc20061001_28_sp.sdf
>> Starting SPLAT
>> SPLAT_DIR = /star/starjava/bin/splat
>> Nov 27, 2006 2:43:37 PM uk.ac.starlink.splat.imagedata.NDFJ <clinit>
>> WARNING: Failed to load the Starlink SPLAT-VO JNI library
>> Nov 27, 2006 2:43:37 PM uk.ac.starlink.splat.imagedata.NDFJ <clinit>
>> WARNING: No native NDF support available
>> Nov 27, 2006 2:43:37 PM uk.ac.starlink.splat.data.SpecDataFactory
>> makeNDFSpecDataImpl
>> INFO: No native NDF support, using less efficient NDX/JNIHDS access
>> Nov 27, 2006 2:43:40 PM uk.ac.starlink.splat.util.SplatSOAPServer start
>> INFO: Remote services port '8081' opened
>>
>> libsplat.jnilib is definitely updated in the splat_libs.jar file.
>
> Have a look at the DYLD_LIBRARY_PATH and make sure it's directed at the right
> place. The SPLAT JNI library depends on the JNIAST shareable
> (otool -L /star/starjava/lib/i386/libsplat.jnilib might work).
This wasn't set initially, but then I put in your patch to profile.in and
it's looking at the right file. However, I still get the same result.
otool -L /star/starjava/lib/i386/libsplat.jnilib gives:
/star/starjava/lib/i386/libsplat.jnilib:
/Users/bradc/development/starlink/java/source/splat/build/lib/i386/libsplat.jnilib
(compatibility version 0.0.0, current version 0.0.0)
/Users/bradc/development/starlink/java/source/jniast/build/lib/i386/libjniast.jnilib
(compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.4)
/usr/local/lib/libgcc_s.1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current
version 1.0.0)
'ant test' doesn't seem to actually do anything other than unpack all of
the architecture jar files.
Is there some way that we can untrap the stack trace from SPLAT where it
gives the "failed to load the Starlink SPLAT-VO JNI library" warning?
Wouldn't that help with debugging?
Cheers,
Brad.
|