[mod_python] openbsd mod_python

Michael Steinfeld mikeisgreat at gmail.com
Thu Jan 19 12:08:41 EST 2006


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

built mod_python fine, im conderned about this message and how to resolve it ...

*** Warning: Trying to link with static lib archive
/usr/local/lib/python2.4/config/libpython2.4.a.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because the file extensions .a of this argument makes me believe
*** that it is just a static archive that I should not used here.
=================================================
trying to start apache errors ....

=================================================

# /home/mike/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'
/httpd: Syntax error on line 55 of /home/mike/www/conf/httpd.conf:
Cannot load /home/mike/www/modules/mod_python.so into server: Cannot
load specified object

--
-mike



More information about the Mod_python mailing list