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: building and using a .jnilib that uses .dylib's



Thanks, that does help quite a lot. Looks like I will have to figure out
the ld command as well. The install_name_tool docs mention that if the new
name is longer than the old (which it is of course), the lib should be built
with the headerpad_max_install_names option. I'm pretty sure this one
wasn't.

So, otool gives me:
libACE.dylib:
libACE.dylib
I tried to change the name like this:
Install_name_tool -change libACE.dylib
./Contents/Resources/Java/libACE.dylib
(Note: Above was all on 1 line of course - damn Outlook)

This resulted in no change. Since Install_name_tool since it ignores
"-change" options that it can't do.

I still haven't figured out the ld command line that will be needed, or
indeed, if it is even possible to do.

-----Original Message-----
From: Eric Albert [mailto:email@hidden]
Sent: Tuesday, September 09, 2003 1:07 PM
To: John Lussmyer
Cc: email@hidden
Subject: Re: building and using a .jnilib that uses .dylib's

Use 'otool -D <path to dylib>' to find the dylib's current install name.
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.



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.