9 messages in net.java.dev.jna.usersRe: Pointer.initIDs UnsatisfiedLinkError
FromSent OnAttachments
Wayne MeissnerMay 9, 2007 10:10 pm 
Timothy WallMay 10, 2007 5:26 am 
Ricky Ng-AdamMay 10, 2007 6:40 am 
Timothy WallMay 10, 2007 6:55 am 
Wayne MeissnerMay 10, 2007 6:58 am 
Timothy WallMay 10, 2007 7:09 am 
Wayne MeissnerMay 10, 2007 7:46 am 
Timothy WallMay 10, 2007 8:37 am 
Wayne MeissnerMay 10, 2007 5:05 pm 
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: Pointer.initIDs UnsatisfiedLinkErrorActions...
From:Timothy Wall (twa@users.sf.net)
Date:May 10, 2007 5:26:56 am
List:net.java.dev.jna.users

On May 10, 2007, at 1:11 AM, Wayne Meissner wrote:

On my ubuntu install (7.04), /usr/lib/libc.so isn't a symlink, it is a LD script - and it still fails to find the library. However, telling it to use libc.so.6 directly works fine.

We could probably tweak Function.findPath() to explicitly fallback to libfoo.so.* if libfoo.so isn't found. A bit mucky, but better to fix it in JNA if possible than have it not work for end-users because they don't have something installed.

I agree that having it work with some mucky details is better than having it fail.

How does dlopen react to the LD script? Any idea why it's there? I saw some chatter on an ubuntu list about the dlopen issue, and the developer stance was to leave it up to dlopen users to accommodate ubuntu.