libpython2.0 as a Linux shared library

Erik de Castro Lopo nospam at mega-nerd.com
Sun Jan 14 05:56:24 EST 2001


Hi all,

I'm interested in in using Python as an embedded language inside
and application I'm wriitng under Linux. My first attempt was a
small text program which I did manage to get to link. The problem
is that a 10 line C program with embedded Python becomes a 2+ Meg
stripped executable.

Does anybody know how to configure and compile Python so that 
libpython2.0 is a shared library?

TIA,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes its valid)
+-----------------------------------------------------------+
The difference between genius and stupidity is that
  genius has its limits.



More information about the Python-list mailing list