build a static python executable on linux?

Michael Hudson mwh at
Tue Sep 30 16:31:40 CEST 2003

Alexandre Gillet <gillet at> writes:

> I am able to compile a static interpreter (using -static
> -static-libgcc) but I can not build the extensions correctly.
> When I  import an extensions (ie Tkinter, readline) I get undefine
> symbol error. It seems the symbol should be define in glibc but the
> extensions can't seems to find it.
> Any ideas how I should built the extensions

By editing Modules/Setup, I suspect.


  I'm sorry, was my bias showing again? :-)
                                      -- William Tanksley, 13 May 2000

More information about the Python-list mailing list