Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: native lib problem in leopard




On Oct 31, 2007, at 5:40 PM, René Jansen wrote:

[venetia:/opt/ooRexx/lib] rvjansen% otool -L libBSF4Rexx.jnilib
libBSF4Rexx.jnilib:
libBSF4Rexx.dylib (compatibility version 0.0.0, current version 0.0.0)



Sorry I missed this the first time I saw this post. It looked at first like a forwarded message with no new content.
But, doesn't the above show that you have in fact renamed the file to libBSF4Rexx.jnilib while the link still thinks it is dylib?
How did you rename back? Change the jnilib back to match the dylib? Then you still don't have a jnilib for java to load do you? I'm not sure that works Tiger, Leopard maybe different.
With the file renamed to jnlib you could try...


install_name_tool -change libBSF4Rexx.dylib libBSF4Rexx.jnilib libBSF4Rexx.jnilib

as per this post off the archive list thread mentioned earlier.
http://lists.apple.com/archives/java-dev/2007/Jul/msg00022.html

But I think you need the file name to match what otool -L says it should be _and_ you need a jnilib to kick off the load for java to be happy.

Mike Hall        hallmike at att dot net
http://www.geocities.com/mik3hall
http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Fwd: native lib problem in leopard (From: RenĂ© Jansen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.