Opened 6 years ago

Closed 6 years ago

#14010 closed (wontfix)

mention DYLD_LIBRARY_PATH in macosx installation instructions

Reported by: rburhum Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords: mac, installation
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I've never had problems setting up a django environment on Linux or even Windows. However, I have always wrestled with getting it to work on a Mac and always ended up giving up and moving on. Turns out that all I needed was to setup the DYLD_LIBRARY_PATH in my .profile to get it to pick up the right libraries

export DYLD_LIBRARY_PATH=/Library/Frameworks/GEOS.framework/unix/lib:/Library/PostgreSQL/8.3/lib:/Library/Frameworks/GDAL.framework/Versions/Current/Libraries:/Library/Frameworks/GDAL.framework/Versions/Current/unix/lib:/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib

Maybe someone should add it to the docs.

Change History (2)

comment:1 Changed 6 years ago by Ramiro Morales

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

The documentation tries to stay away from giving too much detailed information about any specific OS/version/distribution. Instead, it defers and links to a wiki page in this wiki wiki:Distributions that can be modified by anybody.

It would be awesome if you can add the notes you propose to such page.

comment:2 Changed 6 years ago by Gabriel Hurley

Resolution: wontfix
Status: newclosed

I'm not sure what happened in your specific case, but this is not generally true of Mac OS X. I've set up Django on numerous OS X machines running both 10.5 and 10.6 and have not needed to set this path variable.

Moreover, a quick search on Google returns quite a lot of advice saying *not* to set it the way you recommend, as it is likely to break other applications.

It may have been that things were installed in non-standard places... I've also heard reports of Fink or MacPorts misbehaving in the past, but I don't think it's safe to recommend this to everyone at present.

Note: See TracTickets for help on using tickets.
Back to Top