On Wed, 4 Oct 2006, Tim Jenness wrote:
> On Wed, 4 Oct 2006, Brad Cavanagh wrote:
>
> > On Wed, 4 Oct 2006, Peter W. Draper wrote:
> >
> >> this looks like the behaviour I'd expect if the JNIAST library doesn't
> >> load, which is what I'd expect as there are no JNI libraries for this
> >> architecture.
> >
> > Yes, this is what's happening. I get a big Java exception saying it can't
> > load JNIAST.
> >
>
> Is that because rosetta is not working or because SPLAT is trying to load
> a native i386?
Rosetta doesn't work for JNI libraries as the JVM is already running
without it when the library is loaded. I'd guess that SPLAT is probably
failing to find a library to load.
> Presumably we could make a "fat" library? That would confuse the code that
> tries to determine OS and architecture.
>
> >> I'd guess that the new libjniast.jnilib should join the Linux/i386 version
> >> in jniast/src/lib/i386/jniast_libs.jar, as I expect that the "arch" value
> >> for this JVM will also be "i386".
> >
>
> How do you distinguish Linux from OSX if you are only keying off i386?
By the library extension I hope (.jnilib-v-.so), if that doesn't work
we'll need to look for some finer graining, but I don't know what that
might be.
|