Location of dylib's
Location of dylib's
- Subject: Location of dylib's
- From: Bruce Truax <email@hidden>
- Date: Sun, 05 Dec 2004 16:55:59 -0500
I need to include a third party dylib with my program when it is
distributed. Is it possible to put the dylib in my application bundle? I
note in the documentation the following:
"The install name is the pathname used by the dynamic linker to find a
shared library at runtime. The install name is defined by the shared library
and recorded into the client program by the static linker.
You can locate private frameworks and shared libraries in an application
package using a relative-path install name beginning with @executable_path,
such as @executable_path/../Frameworks/MyFramework.framework. This is useful
for sharing functionality with plug-ins (bundles)."
This would seem to imply that to locate the library in your application
bundle you would need to build the library with a relative path install
name. This would preclude installing the dylib in your app bundle unless
you have the source. Am I interpreting this correctly?
Bruce
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden