Redhat .so python shared library.

Martin v. Loewis martin at v.loewis.de
Fri Oct 18 09:10:12 CEST 2002


Дамјан Г.  <пенгуиниста@маил.нет.мк> writes:

> I didn't know that this is possible. 
> Is it? [ Compiling python as a shared library, I mean. ]

What do you mean, not possible? On any system that supports shared
libraries, you can replace any static library with a shared library,
if you adjust the build process.

Of course, Python up-to-2.2 had no knobs to readily modify the build
process. Instead, you would need to edit the Makefile: add new
targets, add new compiler flags, add new linker flags. Debian has been
doing that for quite some time now.

In Python 2.3, there is an --enable-shared configure flag.

Regards,
Martin




More information about the Python-list mailing list