[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-users
Subject:    Re: mod_python problem
From:       Sdävtaker <sdavtaker () gmail ! com>
Date:       2009-04-23 13:58:57
Message-ID: c37d69f60904230652p4d34901bn4197a50cf10cc676 () mail ! gmail ! com
[Download RAW message or body]

[SOLVED]
use python_module for load in place of mod_python, the symbol in the
pkg_src build is that one.
Tested installing trac and works ok.
Sdav


On Wed, Apr 22, 2009 at 15:58, Sd&#xE4;vtaker <sdavtaker@gmail.com> wrote:
> Hey,
> Im having some problems trying to get mod_python working.
> I got DFBSD 2.2r, and installed from pkgsrc apache22 and ap2-python,
> both from last pkgsrc version.
> &#xA0;(updated pkg-src with make pkgsrc-update) and the install of both
> pkgs was bmake install straight foward.
> When i run &#xA0;"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 &#xA0;# or libpthread.so
> export LD_PRELOAD
>
> --
>
>
>
> Any idea whats wrong?
> Thanks for any help
> Sdav
>



-- 
Sd&#xE4;vtaker prays to Rikku goddess for a good treasure.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic