mxCGIPython question (was: Build the Python library into the binary)

M.-A. Lemburg mal at lemburg.com
Tue Jul 6 11:10:45 EDT 1999


Thomas Heller wrote:
> 
> > Hi
> >
> > did you have a look at mxCGIPython at
> > http://starship.skyport.net/~lemburg/mxCGIPython.html ?
> > This is a single executable not shared library with the
> > standard Python library embedded.
> >
> > Cheers
> > --
> > Florent Heyworth
> >
> Works great, except for one problem (under Windows):
> you cannot use any extension modules, because they do
> not find python15.dll (or, worse, they find the wrong
> python15.dll).
> 
> Is it possible to build a python15.dll containing the
> standard library or is it only possible to freeze executables?

The same problem seems to exist on Unix platforms. For some
reason, the symbols defined in cgipython are not accessible
to the dynamic linker on Unix. Don't know why, because 'nm cgipython'
clearly shows them as being defined...

For Windows: you can probably use the python15.dll from the
standard 1.5.2 distribution (simply place it into the same
dir as cgipython).

Cheers,
-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                   178 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/






More information about the Python-list mailing list