| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I have a program which links to several dylibs. If it matters, it's all
flat namespace. When it linked, each dylib's install name was either
@excutable_path/<libname> or /full/path/to/<libname>. I now want to put
these dylibs into App.app/Contents/Frameworks and set their install
names to be @executable_path/../Frameworks/<libname>, and I do so with
install_name_tool. The problem is that, as otool -L reports, the linked
program is looking for the libraries where it found them at link time,
rather than in Frameworks.
I want to change the paths the executable uses to
@executable_path/../Frameworks/<libname> just as I changed the dylibs'
install names. I haven't found a tool to do it. Is there a way (preferably
an existing tool) to, effectively, relink a program? Or just change the
paths it has stored?
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.