dyld: Library not loaded: & embedded app resources
=?MACINTOSH?Q? Emanuele_"=B0"_Vulcano ?=
me at infinite-labs.net
Fri Sep 21 02:27:26 PDT 2007
Il giorno 21/set/07, alle ore 11:03, Anthony B Arthur ha scritto:
> hmm, no I did not tamper with this part of the project. It is =20
> unclear, from the info panel, what path these are linked to and =20
> how to change that.
When you link to a library, its install name is embedded in the =20
executable. The install name can be fixed on a binary with =20
install_name_tool, or, if you have the source, by changing the =20
framework's install name in its target settings (if the Xcode project =20=
is available) or link flags (man gcc should help).
At worst, you could make a copy of the framework, run =20
install_name_tool on it, and link to that. If you need the framework =20
to live in Library, you can make a shell script build phase that =20
copies the framework on-the-fly.
- =B0=
More information about the MacOSX-dev
mailing list