[mod_python] make problems

Damjan gdamjan at mail.net.mk
Thu Dec 5 00:18:15 EST 2002


> 
> You don't mention your FreeBSD version, it's possible that you have a
> really old libtool. Also make sure that Apache is compiled with
> --enable-threads. See the FreeBSD section in mod_python README.
> 
> > *** Warning: This library needs some functionality provided by
> > -lpython2.2.
> > *** I have the capability to make that library automatically link in
> > when


This same thing happend on my slackware 8.1 box,
libtool = ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)

I solved it by making a /usr/lib/libpython.2.2.so shared library.
The procedure is (if I remember good): 
  mkdir /tmp/libpython;  cd /tmp/libpython
  ar x /usr/lib/python2.2/config/libpython2.2.a
  ld -shared -export-dynamic *.o -ldl -lpthread -lutil -lm -lc\
	-o /usr/lib/libpython2.2.so
  



-- 
Damjan Georgievski



More information about the Mod_python mailing list