postgresql-python bug
Andrea Lombardoni
yellowdog-general@lists.terrasoftsolutions.com
Sun Jul 28 07:19:01 2002
Hello.
There is a problem in the postgresql-python package.
After installing postgresql 7.2-2a and the corresponding
postgresql-python, I am unable to run the examples contained in
/usr/share/doc/postgresql-python-7.2/tutorial
This is also confirmed when running Python from the command line:
[root@alba2 tutorial]# python
Python 1.5.2 (#1, Mar 11 2002, 08:41:17) [GCC 2.95.4 20010319
(prerelease/franzo on linux-ppc
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import pg
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/usr/lib/python1.5/site-packages/pg.py", line 7, in ?
from _pg import *
ImportError: /usr/lib/python1.5/site-packages/_pgmodule.so: undefined
symbol: _PyString_Join
>>>
This is confirmed by nm:
[root@alba2 tutorial]# nm /usr/lib/python1.5/site-packages/_pgmodule.so|grep _PyString_Join
U _PyString_Join
Here are the details of the rpms installed on my machine.
[root@alba2 tutorial]# rpm -qa|grep postgres
postgresql-perl-7.2-2a
postgresql-tk-7.2-2a
postgresql-contrib-7.2-2a
postgresql-jdbc-7.2-2a
postgresql-odbc-7.2-2a
postgresql-libs-7.2-2a
postgresql-tcl-7.2-2a
postgresql-python-7.2-2a
postgresql-7.2-2a
postgresql-server-7.2-2a
[root@alba2 tutorial]# rpm -qa|grep python
python-xmlrpc-1.5.1-7.x.3
rpm-python-4.0.3-1.03b
python-1.5.2-35a
postgresql-python-7.2-2a
python-devel-1.5.2-35a
python2-2.1.1-2
I also tried to rebuild everything from the .src rpm, but it didn't help.
The http://bugs.yellowdoglinux.com seems to be down, so, what is the
correct way to report this bug?
Or does someone have an idea on how to make it working?
Thank you!