[mod_python] wrong version?

Kyle Simpson kyle.simpson at gmail.com
Tue Apr 8 07:19:28 EDT 2008


2 versions of apache

just ./configure --with-apxs=/usr/local/apache28/bin/apxs

I did make install

And no, I don't understand the shared library issue.  Unfortunately I'm
pretty much a noob, since any previous apache haven't required any modules.

Thanks for all the help.  Let me know if you have any other ideas.

On Tue, Apr 8, 2008 at 1:49 AM, Graham Dumpleton <graham.dumpleton at gmail.com>
wrote:

> What about my other questions:
>
> How many different versions of Apache do you have installed?
>
> What options did you use to 'configure' when building mod_python?
>
> Did you use the 'install' target to 'make' or copy it by hand?
>
> Do you also understand what I am talking about with the shared library
> issue, not that it in itself should cause this problem.
>
> Graham
>
> 2008/4/8 Kyle Simpson <kyle.simpson at gmail.com>:
> > After doing that, new error:
> >
> > httpd: Syntax error on line 55 of /usr/local/apache28/conf/httpd.conf:
> API
> > module structure 'python_module' in file /usr/loc?
> >
> > line 55 is:
> > 55 LoadModule python_module modules/mod_python.so
> >
> > I did reconfigure/compile to see if that helped, but here's the ls -la
> >
> > 2857 -rwxr-xr-x    1 root     root      2911798 Apr  8 01:35
> mod_python.so
> >
> > file
> >
> > /usr/local/apache28/modules/mod_python.so: ELF 32-bit LSB shared object,
> > Intel 80386, version 1 (SYSV), not stripped
> >
> > ldd
> > libpthread.so.0 => /lib/libpthread.so.0 (0x00111000)
> >         libdl.so.2 => /lib/libdl.so.2 (0x00826000)
> >         libutil.so.1 => /lib/libutil.so.1 (0x00162000)
> >         libm.so.6 => /lib/libm.so.6 (0x00ee8000)
> >          libc.so.6 => /lib/libc.so.6 (0x00832000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00411000)
> >
> >
> >
> >
> >
> >
> > On Tue, Apr 8, 2008 at 12:52 AM, Graham Dumpleton
> > <graham.dumpleton at gmail.com> wrote:
> >
> > > Did you do a full stop and start of Apache, not just a restart/reload?
> > >
> > >
> > > 2008/4/8 Kyle Simpson <kyle.simpson at gmail.com>:
> > >
> > > > 2857 -rwxr-xr-x    1 root     root      2911798 Apr  7 23:14
> > > > /usr/local/apache28/modules/mod_python.so
> > > >
> > > > /usr/local/apache28/modules/mod_python.so: ELF 32-bit LSB shared
> object,