FROM : Matt Watson
DATE : Sat Jan 12 19:25:01 2002
You should use the @executable_path prefix when setting the install name
for your framework. This is documented in the Compiler Tools release
note. Something like
@executable_path/../Resources/Foo.framework/Versions/A/Foo would
probably do the trick. The linker embeds the install name of all linked
frameworks and shared libraries in the executable. When the dynamic
linker runs as your program starts up, if it sees @executable_path, it
replaces that with the full path to the executable when searching for
dependent libraries/frameworks.
What does otool -L say when run on the executable and the framework?
matt.
DATE : Sat Jan 12 19:25:01 2002
You should use the @executable_path prefix when setting the install name
for your framework. This is documented in the Compiler Tools release
note. Something like
@executable_path/../Resources/Foo.framework/Versions/A/Foo would
probably do the trick. The linker embeds the install name of all linked
frameworks and shared libraries in the executable. When the dynamic
linker runs as your program starts up, if it sees @executable_path, it
replaces that with the full path to the executable when searching for
dependent libraries/frameworks.
What does otool -L say when run on the executable and the framework?
matt.
| Related mails | Author | Date |
|---|---|---|
| Nick Zitzmann | Jan 12, 05:21 | |
| Nick Zitzmann | Jan 12, 16:30 | |
| Matt Watson | Jan 12, 19:25 | |
| Nick Zitzmann | Jan 13, 04:49 | |
| Andrew Salamon | Jan 18, 09:30 |






Cocoa mail archive

