[mod_python] undefined symbol: mod_mod_python

Graham Dumpleton graham.dumpleton at gmail.com
Tue May 8 20:20:10 EDT 2007


Which is wrong. It must be:

  LoadModule python_module modules/mod_python.so

I should have perhaps expressed my question a bit better to indicate
what I saw as possible problem.

Graham

On 09/05/07, Fletcher Mattox <fletcher at cs.utexas.edu> wrote:
> I think httpd.conf is correct:
>
> z.cs.utexas.edu$ grep ^Load httpd.conf
> LoadModule mod_python modules/mod_python.so
> z.cs.utexas.edu$
>
> Fletcher
>
> > From graham.dumpleton at gmail.com  Tue May  8 17:31:53 2007
> > From: "Graham Dumpleton" <graham.dumpleton at gmail.com>
> > To: "Fletcher Mattox" <fletcher at cs.utexas.edu>
> > Subject: Re: [mod_python] undefined symbol: mod_mod_python
> > Cc: mod_python at modpython.org
> >
> > Let me try again then. Have you perhaps written your LoadModule line as:
> >
> >   LoadModule mod_python modules/mod_python.so
> >
> > instead of:
> >
> >   LoadModule python_module modules/mod_python.so
> >
> > Graham
> >
> > On 09/05/07, Fletcher Mattox <fletcher at cs.utexas.edu> wrote:
> > > Graham,
> > >
> > > I don't think there is a version mismatch.  I recompiled
> > > both apache 2.2.4 and mod_python 3.3.1 from source code,
> > > just as I always do when I upgrade.
> > >
> > > Also, whatever it is, is unique to mod_python.  All my
> > > other modules (mod_php, mod_perl, et al) work fine with
> > > apache 2.2.4.
> > >
> > > Thanks
> > > Fletcher
> > >
> > > > From graham.dumpleton at gmail.com  Tue May  8 17:20:44 2007
> > > > From: "Graham Dumpleton" <graham.dumpleton at gmail.com>
> > > > To: "Fletcher Mattox" <fletcher at cs.utexas.edu>
> > > > Subject: Re: [mod_python] undefined symbol: mod_mod_python
> > > > Cc: mod_python at modpython.org
> > > >
> > > > Did you either upgrade your mod_python binary package to a newer
> > > > version built specifically for the new version of Apache, or rebuild
> > > > mod_python from source code against the newer version of Apache.
> > > >
> > > > This error typically means you are using a version of the
> > > > mod_python.so compiled against a different version of Apache than what
> > > > you are running.
> > > >
> > > > On 09/05/07, Fletcher Mattox <fletcher at cs.utexas.edu> wrote:
> > > > > Hi,
> > > > >
> > > > > When I upgraded from apache 2.0.55 to 2.2.4, mod_python stopped
> > > > > working:
> > > > >
> > > > > z.cs.utexas.edu# ../bin/apachectl start
> > > > >   httpd: Syntax error on line 54 of \
> > > > >   /lusr/opt/apache-test/conf/httpd.conf: \
> > > > >   Can't locate API module structure `mod_python' in \
> > > > >   file /lusr/opt/apache-test/modules/mod_python.so: \
> > > > >   /lusr/opt/apache-test/modules/mod_python.so: undefined symbol: mod_python
> > > > > z.cs.utexas.edu#
> > > > >
> > > > > Googling around a little, I seem to be the only one with this problem.
> > > > > This is an extremely vanilla configuration running ubuntu dapper.
> > > > > mod_python works fine under apache 2.0.55.
> > > > > Does anyone know where I should start looking?
> > > > >
> > > > > Thanks
> > > > > Fletcher
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > 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