[mod_python] mod_python problem in Slackware

Jorey Bump list at joreybump.com
Tue Nov 25 14:00:43 EST 2008


Luis P. Mendes wrote, at 11/25/2008 01:33 PM:

> I'm trying to install mod_python in Slack 12.1, but have some
> difficulties.
> 
> mod_python: 3.3.1
> apache: default (httpd-2.2.8), also tried with 2.2.9
> 
> when configuring mod_python for installation: ./configure
> --with-apxs=/usr/sbin/apxs or
> ./configure --with-apxs=/usr/sbin/apxs --includedir=/usr/include/httpd/
> 
> it returns the error:
> checking Apache version... /usr/sbin/httpd: symbol lookup error:
> /usr/sbin/ httpd: undefined symbol: apr_ldap_ssl_init
> 
> this is equivalent to when I issue the comand: # /usr/sbin/httpd -v
> /usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol:
> apr_ldap_ssl_init
> 
> I reinstalled apr and apr-util packages:  apr-1.2.12-i486-1 and apr-
> util-1.2.12-i486-1, but the problem remains.
> 
> Is it only with my installation? Is there any clue on how to solve this
> issue?

I recently installed it on 12.1, but used the trunk instead. As an
ordinary user, follow these steps (use a different build directory, if
you wish):

 mkdir -p ~/src/mod_python
 cd ~/src/mod_python/
 svn co http://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk
mod_python-trunk
 cd mod_python-trunk/
 ./configure --with-apxs=/usr/sbin/apxs
 make
 su -c "make install"
 cd test/
 python test.py

On a stock Slackware 12.1, this should work without any problems and
there should be no errors during the tests.




More information about the Mod_python mailing list