R: [mod_python] Cannot load mod_python.so into apache(2):

Manera, Villiam vmanera at manord.com
Tue Oct 14 18:26:54 EST 2003


:-)  Thanks you, now work properly

Villiam
-----Messaggio originale-----
Da: Gustavo Córdova Avila [mailto:gustavo.cordova at q-voz.com]
Inviato: martedì 14 ottobre 2003 17.41
A: Manera, Villiam
Cc: mod_python at modpython.org
Oggetto: Re: [mod_python] Cannot load mod_python.so into apache(2):


Manera, Villiam wrote:

> I have followed the whole history of mod_python.so,...:
>
> >Gregory (Grisha) Trubetskoy grisha at modpython.org
>
> >Mon Sep 15 10:32:10 EST 2003
>
> >This is typically a mismatch of mod_python.so and the version of Python
>
> >you have on your system. For some reason windows says "module cannot be
>
> >found" whereas it really means "i had problems loading it".
>
> >
>
> >The mod_python binary available from Apache sites should be compatible
>
> >with Python 2.2.x, but not 2.3.
>
> but mod_python-3.1.0a.win32-py2.3.exe seems for python 2.3
>
> I have decided to migrate from python 2.2 to 2.3 just for try 
> session... on mod_python 3.1.0a
>
> what I have to do :-( ??
>
> Thanks,
>
> Villiam
>
I had the same problem exactly, so I did a "strings" on the file 
"mod_python.so", and found it depended on "python22.dll"; I then 
attacked this file with a binary file editor and changed "python22.dll" 
with "python23.dll", and Apache restarted OK.

Now... I don't know how stable this is, and I know that this isn't the 
best solution, but at least meanwhile, it's working and I can continue 
doing my stuff.

I'll post something if I run into trouble, but there's been none yet.

Happy Hacking :-)

-gustavo


_______________________________________________
Mod_python mailing list
Mod_python at modpython.org
http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list