DYLD_LIBRARY_PATH and iPhoto

| | Comments (0)
I was playing with Mac::Glue tonight, working on getting it ready for release, and I tried to create a glue for iPhoto.

gluemac /Applications/iPhoto.app

iPhoto was not happy with this, and quit on me. The crash log said something about bad symbols in dyld. I eventually traced this to DYLD_LIBRARY_PATH, which I have set for OpenOffice.org and some other things; not in the GUI, only in the shell, so iPhoto starts fine from clicking on its icon, but not from opening from the command line etc.

It turns out that this path is used before dyld looks at the program's paths. I don't want that. I changed my .bash_profile to use DYLD_FALLBACK_LIBRARY_PATH instead, and it works fine now. use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on May 1, 2003 8:58 PM.

Lookup iTunes Cover Art was the previous entry in this site.

Apple Stuff is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.