[mod_python] Compiling mod_python against 64 bit

Graham Dumpleton graham.dumpleton at gmail.com
Thu Jun 12 02:36:38 EDT 2008

Probably because you have a mix of 32 and 64 bit binary objects. That
or is is similar to 64 bit shared library problems described in
section 'Mixing 32 Bit And 64 Bit Packages' of:


albeit with a different message, this time at run time rather than link time.


2008/6/12 David Gossage <dgossage at zacks.com>:
> I downloaded mod_python 3.3.1 and am installing it on a CentOS5 64bit
> server with python 2.4 and apache 2.2.6.  Apache was built from source,
> and python was included, but I installed python-devel via yum which
> grabbed the x86 and x86_64 rpms.
> mod_python configures and makes/installs fine, but when I add the
> LoadModule line and attempt to stop/start apache I get this error.
> httpd: Syntax error on line 56 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/modules/mod_python.so into
> server: /usr/local/apache/modules/mod_python.so: wrong ELF class:
> Do I need to do anything special for installing in a 64bit environment?
> _______________________________________________
> 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