There seem to be several libjnidispatch.so available.
/com/sun/jna/sunos-sparc$ldd libjnidispatch.so
ldd: libjnidispatch.so: has wrong class or data encoding
/com/sun/jna/sunos-sparcv9$ldd libjnidispatch.so
ldd: libjnidispatch.so: has wrong class or data encoding
/com/sun/jna/sunos-x86$ldd libjnidispatch.so
warning: ldd: libjnidispatch.so: is not executable
libc.so.1 => /usr/lib/libc.so.1
libc.so.1 (SUNW_1.22) => (version not found)
libdl.so.1 => /usr/lib/libdl.so.1
I assume it's the last one, um? (The other Solaris 10 Sparc has this for an
output:
/com/sun/jna/sunos-sparc$ldd libjnidispatch.so
warning: ldd: libjnidispatch.so: is not executable
libc.so.1 => /usr/lib/libc.so.1
libm.so.2 => /usr/lib/libm.so.2
/platform/SUNW,Ultra-80/lib/libc_psr.so.1
--- Original Message ---
On May 14, 2008, at 1:28 PM, Steve Ramage wrote:
Do I need the sunos-x86.jar file: from the download page: JWS-
packaged native jnidispatch library for solaris/x86.
Also is there a way to what the file is trying to link too, I can
never catch the file existing? The error suggests that it can't find
the libc not that it's not the right version, because /usr/lib/
libc.so.1 does exist. In fact java loads it earlier actually.
sunos-x86.jar contains the same libjnidispatch.so that is in jna.jar.
it's packaged separately as an example of how to package platform-
specific web start distros.
you should be able to run ldd on libjnidispatch.so extracted from
jna.jar to see what the dependencies look like. I wouldn't think
there's anything that specifically depends on stuff in glibc, but it's
always possible something minor slipped in or was used inadvertently.
asking java to load libc.so is different from the dynamic linker
loading it as a dependency.