[mod_python] mod_python 3.0.1 on Apache 2.0.43 solution

Duncan Booth duncan at rcp.co.uk
Tue Dec 3 15:58:39 EST 2002


It appears that the binaries for mod_python 3.0.1 have been built 
using Microsoft Visual Studio version 7. This means that 
mod_python.so has a dependency on the file msvcr70.dll, but the 
distribution doesn't include this file.

If you have the latest Microsoft compiler installed, or any other 
applications that use this DLL, then mod_python.so works fine. If not 
it fails horribly.

The workaround (at least on one machine that had this problem) is to 
copy msvcr70.dll into \winnt\system32. Get the file from anywhere 
that already has a copy (e.g. www.dll-files.com/dllindex/dll-
files.shtml?msvcr70). Fortunately this dll has no further 
dependencies.  

The long term solution would be to distribute mod_python as a .MSI 
file including dependencies, or even to build it with the same version 
of the C runtime library as used for the rest of Apache and Python.





More information about the Mod_python mailing list