pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mod_python problem
Hello,
Im having some problems trying to get mod_python working, and was
wondering if you can help me.
I got DFBSD 2.2r and installed from pkgsrc apache22 and ap2-python
(tried apache2 amd ap2-python too)
both from last pkgsrc version.
(updated pkg-src with make pkgsrc-update) and the install of both
pkgs was bmake install straight foward, no special configs.
When i run "apachectl start" I get
--
httpd: Syntax error on line 416 of /usr/pkg/etc/httpd/httpd.conf:
Can't locate API module structure `mod_python' in file
/usr/pkg/lib/httpd/mod_python.so: Undefined symbol "mod_python"
--
At httpd.conf i got:
...
LoadModule php5_module lib/httpd/mod_php5.so
AddHandler application/x-httpd-php .php
LoadModule wsgi_module lib/httpd/mod_wsgi.so
LoadModule mod_python lib/httpd/mod_python.so
AddHandler python-program .py
--
And i had added to /usr/pkg/sbin/envvars-std:
LD_PRELOAD=/usr/lib/libc_r.so # or libpthread.so
export LD_PRELOAD
--
Any idea whats wrong?
Thanks for any help
Sdav
Home |
Main Index |
Thread Index |
Old Index