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: linking shared libraries with dependent shared libraries



I'm aware of that option. I may as well explicitly link against the entire dependency tree, which is what I want to avoid. I'm setting install_name to the bare filename (no path) since the product can be re-rooted.

On Oct 12, 2004, at 7:36 PM, Peter O'Gorman wrote:

How about telling you to read the manpage for ld(1)? :-p

-dylib_file is the flag you need. On many platforms -L is used to search for symbols in dependent shared libraries, on darwin, the install_name that is encoded into the shared lib is the method that is used. If the dependent shared library is not yet installed then you have to use the -dylib_file flag.

Hope this helps,
Peter

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

This email sent to email@hidden
References: 
 >linking shared libraries with dependent shared libraries (From: Paul Forgey <email@hidden>)
 >Re: linking shared libraries with dependent shared libraries (From: "Peter O'Gorman" <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.