Shared library Python on Mac OS X 64-bit

Graham Dumpleton Graham.Dumpleton at
Tue Mar 3 04:44:41 CET 2009

On Mar 3, 12:25 pm, Uberman <bhoo... at> wrote:
> 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.

Why don't you want to use MacOS X Framework libraries? It is the
better installation method.


More information about the Python-list mailing list