#78 Python on Mac OS X Leopard

failure
open
nobody
None
5
2008-02-24
2008-02-24
Anonymous
No

VPython needs the following LDFLAGS entry for compiling on Leopard:

LDFLAGS="-framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"

This gets around a documented bug-feature in Leopard where the OpenGL libraries are installed in a different place from previous versions.

In the fink info file for visual-py24 this can be achieved by adding an appropriate export LDFLAGS line to the info file.

Discussion