Shared library Python on Mac OS X 64-bit

Uberman bhood37 at hotmail.com
Tue Mar 3 02:25:19 CET 2009


I'm trying to build a 64-bit version of Python 2.5.1 on Mac OS X 10.5.6 64-bit
(Intel processor).  The configure line I'm using is:

./configure --enable-shared --disable-framework --disable-toolbox-glue
OPT="-fast -arch x86_64 -Wall -Wstrict-prototypes -fno-common -fPIC"
LDFLAGS="-arch x86_64"

The system builds, but it absolutely refuses to build the shared libraries.  I
 keep getting the 'libpython2.5.a' file, and not the needed *.dylib files.
Anybody know how to get this thing to produce shared and not static libraries?
  A link to examples or documentation that shows the correct configure
parameters?  I would have thought "--enable-shared" would do it, but I guess
I'm wrong.



More information about the Python-list mailing list