I installed Trac which installed python-clearsilver. The offending shared lib is neo_cgi.so
You can see from locate neo_cgi.so that it is located
/usr/lib/python2.4/site-packages/neo_cgi.so
/usr/lib/python2.5/site-packages/neo_cgi.so
(or you could check in the properties of the package python-clearsilver in Synaptic or whichever)
tar zxvf it, yadda yadda yadda and then configure it using ./configure --disable-wdb --disable-compression --disable-perl --with-python=$(which python)
(I disable wdb because I don't know what it is and I disable compression because it complains about not finding libz even though it is there - grrr -
dpkg-query -S /usr/lib/libz.so.1 gives zlib1g: /usr/lib/libz.so.1 and I disable perl because perl scares me)
then make and now there is a python directory, go into it and cp -i neo_cgi.so /usr/lib/python2.5/site-packages/neo_cgi.so to overwrite the 2.5 version which in Gutsy development is the latest python (I suppose you could build a 2.4 version because python2.4 -c 'import neo_cgi' gives the same errors as reported above but as trac uses 2.5 so meh...
I would attach the .so but it's 1/2 a meg :)
-rw-r--r-- 1 root root 496350 2007-06-09 15:25 /usr/lib/python2.5/site-packages/neo_cgi.so
I get the same.
I installed Trac which installed python-clearsilver. The offending shared lib is neo_cgi.so python2. 4/site- packages/ neo_cgi. so python2. 5/site- packages/ neo_cgi. so
You can see from locate neo_cgi.so that it is located
/usr/lib/
/usr/lib/
(or you could check in the properties of the package python-clearsilver in Synaptic or whichever)
A fix is to download the latest clearsilver sources from http:// www.clearsilver .net/downloads/ clearsilver- 0.10.4. tar.gz
tar zxvf it, yadda yadda yadda and then configure it using ./configure --disable-wdb --disable- compression --disable-perl --with- python= $(which python)
(I disable wdb because I don't know what it is and I disable compression because it complains about not finding libz even though it is there - grrr -
dpkg-query -S /usr/lib/libz.so.1 gives zlib1g: /usr/lib/libz.so.1 and I disable perl because perl scares me)
then make and now there is a python directory, go into it and cp -i neo_cgi.so /usr/lib/ python2. 5/site- packages/ neo_cgi. so to overwrite the 2.5 version which in Gutsy development is the latest python (I suppose you could build a 2.4 version because python2.4 -c 'import neo_cgi' gives the same errors as reported above but as trac uses 2.5 so meh...
I would attach the .so but it's 1/2 a meg :) python2. 5/site- packages/ neo_cgi. so
-rw-r--r-- 1 root root 496350 2007-06-09 15:25 /usr/lib/