Compiling python2.5.1 results in 3.5MB python lib?

Chris Mellon arkanes at gmail.com
Fri Jul 27 19:27:22 CEST 2007


On 7/27/07, simonbun <simoncelen at gmail.com> wrote:
> Hi all,
>
> I'm compiling 2.5.1 and end up with a 3.5MB libpython2.5.so 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
> information.
>

Shared libraries are *shared*. The size of them is irrelevant for the
purpose you list here.



More information about the Python-list mailing list