11 messages in net.java.dev.jna.usersRe: [jna-users] Java 5 dependency on OSX
FromSent OnAttachments
Chris SewartJul 28, 2007 6:14 am 
Timothy WallJul 28, 2007 8:31 pm 
Timothy WallJul 28, 2007 8:39 pm 
Timothy WallJul 29, 2007 11:38 am 
Michael HallJul 29, 2007 2:13 pm 
Timothy WallJul 29, 2007 2:40 pm 
Timothy WallJul 30, 2007 1:34 pm 
Timothy WallJul 30, 2007 1:47 pm 
Michael HallJul 30, 2007 2:04 pm 
Chris SewartJul 31, 2007 4:13 am 
Timothy WallJul 31, 2007 7:38 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] Java 5 dependency on OSXActions...
From:Michael Hall (hall@att.net)
Date:Jul 29, 2007 2:13:05 pm
List:net.java.dev.jna.users

--- Timothy Wall <twa@users.sf.net> wrote:

On Jul 29, 2007, at 8:52 AM, Michael Hall wrote:

It would seem to me that a dynamic load should search on a symbol and not be tied to a specific absolute path library but I could be wrong. Not that familiar with that stuff.

The jnilib is linked against JAWT. The library and symbols *could* be looked up dynamically via dlopen/dlsym, but it's a much bigger pain that way.

It would actually be dynamic that way I'd think but again this is not really the sort of platform where I've spent most of my time. IBM mainframe you have a system defined search path for dynamic loads, some standard libs, some can be varied by the system programmers, and you find it in those or don't. There is no reference to any kind of file for the dynamic load even the ones that are always there.

/Users/twall/Development/ws/jna/build/native/libjnidispatch.jnilib

That shouldn't be there. Where exactly did it show up?

The JWS ppc darwin download, extracted and issued the command.

It might work if it's not a symlink (which it

usually is); you'd want the path to be the current JRE, though, not the current JDK (unless the JDK is always installed by default, which I doubt).

For OS X the JDK is always installed and I think for OS X this symlink is always there too. But it is a symlink so if thats the problem it won't help. Between the two symlinks there might be differences depending on whether or not you start tweaking the preferred version using the java preferences application. I don't know. But either way I think, a symlink.