David Gossage
dgossage at zacks.com
Thu Jun 12 11:00:50 EDT 2008
The problem was indeed that the yum installs place the libpython2.4.so in /usr/lib64 where apparently it isn't found. Symlinking it to /usr/lib/python2.4/config fixes the issue. At least it compiles and loads into apache properly. Still need to test code. Thanks for the pointer. On Thu, 2008-06-12 at 16:36 +1000, Graham Dumpleton wrote: > 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: > > http://code.google.com/p/modwsgi/wiki/InstallationIssues > > albeit with a different message, this time at run time rather than link time. > > Graham > > 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: > > ELFCLASS32 > > > > 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 > >
|