From: Greg Guerin <glgu...@amug.org>
Date: July 28, 2007 10:48:43 PM EDT
To: java...@lists.apple.com
Subject: Re: Fwd: [jna-users] Java 5 dependency on OSX
Timothy Wall wrote:
Which I figured would be valid on any machine, but this is a
symlink that
resolves to Java 5 (on my dev machine) so I wind up with a library
with
the same problem. I confess to knowing next to nothing about linking
dynamic libraries on OS X so am a bit stumped. Surely there must
be a way
of linking to 'the current version' ?
The linker appears to be resolving symlinks. I don't know how to
tell it
not to do that, so the obvious thing is to tell it to link
specifically to
the 1.4.2/Libraries/libjawt.dylib. Go look in
/System/Library/Frameworks/... and you'll see that 1.4.2 does have the
dylib, and there is a 1.4.2 on OS 10.3, so it should at least link
and dyld
on 10.3.
I'm not saying I've tried this and it works, and I'm not saying the
resulting code will run (there may be other dependencies on Java
5), but it
seems like an obvious work-around that might work.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (Java...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/twall%40users.sf.net
This email sent to twa...@users.sf.net