Compiling python2.5.1 results in 3.5MB python lib?

simonbun simoncelen at
Fri Jul 27 19:11:08 CEST 2007

Hi all,

I'm compiling 2.5.1 and end up with a 3.5MB file. I
seem to remember it should be somewhere around the 1MB mark. What
could be causing this?

I'm using ./configure --enable-shared

This is a problem for me seeing as i'm using apache+mod_python to
serve web content. Each apache child process incorporates libpython
and ends up starting at 7MB, which is quite large. Especially
considering the framework + code I'm using adds another 10+MB.

Any help is appreciated. Let me know if i need to give some more

More information about the Python-list mailing list