[mod_python] wrong version?

Kyle Simpson kyle.simpson at gmail.com
Tue Apr 8 00:42:38 EDT 2008


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,
Intel 80386, version 1 (SYSV), not stripped

 libpthread.so.0 => /lib/libpthread.so.0 (0xb7e54000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e50000)
        libutil.so.1 => /lib/libutil.so.1 (0xb7e4d000)
        libm.so.6 => /lib/libm.so.6 (0xb7e2c000)
        libc.so.6 => /lib/libc.so.6 (0xb7d09000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fee000)


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

> What do you get when you run:
>
>  ls -las /usr/local/apache28/modules/mod_python.so
>
> and:
>
>  file /usr/local/apache28/modules/mod_python.so
>
> and:
>
>  ldd /usr/local/apache28/modules/mod_python.so
>
> Graham
>
> 2008/4/8 Kyle Simpson <kyle.simpson at gmail.com>:
> > Hi Graham,
> >
> > Thanks for the quick reply.
> >
> > I compiled all 3: python,apache,mod python.  Did not use binaries for
> any of
> > them.
> >
> >
> >
> > On Tue, Apr 8, 2008 at 12:22 AM, Graham Dumpleton
> > <graham.dumpleton at gmail.com> wrote:
> >
> > > 2008/4/8 Kyle Simpson <kyle.simpson at gmail.com>:
> > >
> > >
> > >
> > > > Not sure what to make of this error.  I have apache 2.2.8, python
> 2.5.2
> > and
> > > > mod python 3.3.1.
> > > >
> > > > Any ideas?
> > > >
> > > >
> > > > httpd: Syntax error on line 54 of
> /usr/local/apache28/conf/httpd.conf:
> > API
> > > > module structure 'python_module' in file
> > > > /usr/local/apache28/modules/mod_python.so is garbled - expected
> > signature
> > > > 41503232 but saw 41503230 - perhaps this is not an Apache module
> DSO, or
> > was
> > > > compiled for a different Apache version?
> > >
> > > Exactly what it means.
> > >
> > > Did you compile mod_python yourself for that version of Apache or did
> > > you just install a binary package from somewhere for both?
> > >
> > > I am assuming Apache has a concept of an internal ABI number. This is
> > > changed whenever the ABI is changed. You may not be able to use a
> > > precompiled module from an older version of Apache even if same
> > > major/minor version, if this ABI has changed.
> > >
> > > Graham
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080408/0939b1c3/attachment-0001.html


More information about the Mod_python mailing list