Re: linking shared libraries with dependent shared libraries
Re: linking shared libraries with dependent shared libraries
- Subject: Re: linking shared libraries with dependent shared libraries
- From: Paul Forgey <email@hidden>
- Date: Tue, 12 Oct 2004 19:42:10 -0700
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:
This email sent to email@hidden