[mod_python] openbsd mod_python

Michael Steinfeld mikeisgreat at gmail.com
Thu Jan 19 13:23:06 EST 2006


here is the same error using apache 2.0 with mod_python 3.1.4 on openbsd

# ../../www/bin/apachectl start
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyObject_GenericGetAttr'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyObject_GenericGetAttr'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyObject_GenericGetAttr'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyObject_GenericGetAttr'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyObject_GenericSetAttr'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyObject_GenericSetAttr'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol '_Py_NoneStruct'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_ValueError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_ValueError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_ValueError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_ValueError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_ValueError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_IOError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_IOError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_IOError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyString_Type'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyString_Type'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyString_Type'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyString_Type'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_TypeError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_TypeError'
/home/mike/www/bin/httpd:/home/mike/www/modules/mod_python.so:
undefined symbol 'PyExc_TypeError'
/home/mike/www/bin/httpd:/home/mSyntax error on line 232 of
/home/mike/www/conf/httpd.conf:
Cannot load /home/mike/www/modules/mod_python.so into server: Cannot
load specified object








On 1/19/06, Michael Steinfeld <mikeisgreat at gmail.com> wrote:
> I forgot to mention the platform ...
> that is actually running on my G5
>
> Python 2.4.1 (#1, Sep 4 2005, 01:46:49) [GCC 4.0.0 (Apple Computer,
> Inc. build 5026)]
> ('Darwin', 'g5', '8.4.0', 'Darwin Kernel Version 8.4.0: Tue Jan 3
> 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC', 'Power
> Macintosh')
>
>
> On 1/19/06, Michael Steinfeld <mikeisgreat at gmail.com> wrote:
> > however, I thought this would be fun to look at =)
> >
> > [Thu Jan 19 11:24:50 2006] [notice] mod_python: Creating 32 session
> > mutexes based on 256 max processes and 0 max threads.
> > [Thu Jan 19 11:24:50 2006] [notice] Apache/2.2.0 (Unix)
> > mod_python/3.1.4 Python/2.4.1 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.7g
> > mod_chroot/0.4 configured -- resuming normal operations
> > [Thu Jan 19 11:24:52 2006] [notice] mod_python: (Re)importing module
> > 'mod_python.psp'
> >
> >
> > On 1/19/06, Michael Steinfeld <mikeisgreat at gmail.com> wrote:
> > > On 1/19/06, Jorey Bump <list at joreybump.com> wrote:
> > > > Michael Steinfeld wrote:
> > > > > I am running OpenBSD 3.8 powerpc
> > > > > I compiled installed apache2.2.0 with enable .so
> > > > > I added python 2.4.1 via pkg_add
> > > > > I downloaded mod_python 3.1.4 compiled with apxs
> > > >
> > > > Please use apache 2.0.x instead. You may also want to try the latest
> > > > mod_python beta, which may contain important fixes
> > >
> > > Yeah, there were compatability issues there as well.
> > > I'll see what happens with apache 2.0
> > >
> > > thanks for the heads up.
> > >
> > > >
> > > > No version of mod_python is compatible with apache 2.2, yet. Get it
> > > > working with 2.0 before you attempt to tackle these compatibility
> > > > issues. The python-dev list is definitely interested in any
> > > > contributions or patches that will preserve compatibility between Apache
> > > > 2.x versions.
> > > >
> > > > It's also nice to hear from an OpenBSD user, but since that platform is
> > > > heavily tweaked, it's useful to test installation on another platform
> > > > for comparison, to flag OpenBSD-specific issues.
> > > > _______________________________________________
> > > > Mod_python mailing list
> > > > Mod_python at modpython.org
> > > > http://mailman.modpython.org/mailman/listinfo/mod_python
> > > >
> > >
> > >
> > > --
> > > -mike
> > >
> >
> >
> > --
> > -mike
> >
>
>
> --
> -mike
>


--
-mike



More information about the Mod_python mailing list