12 messages in net.java.dev.jna.usersRe: [jna-users] Example not running o...
FromSent OnAttachments
Steve RamageMay 13, 2008 4:24 pm 
Timothy WallMay 13, 2008 5:05 pm 
Steve RamageMay 14, 2008 10:28 am 
Steve RamageMay 14, 2008 10:36 am 
Timothy WallMay 14, 2008 10:47 am 
Timothy WallMay 14, 2008 10:56 am 
Steve RamageMay 14, 2008 11:35 am 
Timothy WallMay 14, 2008 12:00 pm 
Steve RamageMay 14, 2008 1:51 pm 
Steve RamageMay 14, 2008 3:53 pm 
Steve RamageMay 14, 2008 6:03 pm 
Timothy WallMay 19, 2008 7:43 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Example not running on Solaris 9 x86.Actions...
From:Timothy Wall (twal@dev.java.net)
Date:May 14, 2008 10:47:18 am
List:net.java.dev.jna.users

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.