From: Andres N. <mas...@ho...> - 2004-01-28 16:17:17
|
<html><div style='background-color:'><P><BR><BR></P> <DIV> <DIV class=RTE> <P>Hello, I have installed in my machine Linux Red Hat 7.3 with the following packages:</P> <P>postgresql-docs-7.2.1-2PGDG<BR>postgresql-contrib-7.2.1-2PGDG<BR>postgresql-python-7.2.1-2PGDG<BR>postgresql-tk-7.2.1-2PGDG<BR>postgresql-jdbc-7.2.1-2PGDG<BR>postgresql-7.2.1-2PGDG<BR>postgresql-devel-7.2.1-2PGDG<BR>postgresql-perl-7.2.1-2PGDG<BR>postgresql-server-7.2.1-2PGDG<BR>postgresql-test-7.2.1-2PGDG<BR>postgresql-libs-7.2.1-2PGDG<BR>postgresql-odbc-7.2.1-2PGDG<BR>postgresql-tcl-7.2.1-2PGDG</P> <P><BR>egenix-mx-base-2.0.4-py2.2_1<BR>mx-2.0.3-1</P> <P><BR>python-1.5.2-38<BR>python-xmlrpc-1.5.1-7.x.3<BR>rpm-python-4.0.4-7x.18<BR>postgresql-python-7.2.1-2PGDG<BR>pythonlib-1.23-1<BR>python-clap-1.0.0-3<BR>python-devel-2.2.1-17<BR>mod_python-2.7.8-2<BR>libxslt-python-1.0.33-1<BR>python2-2.2-16<BR>python-popt-0.8.8-7.x.2<BR>ibxml2-python-2.5.9-1</P> <P>When I install the package pypgsql,from sources, it work fine with no problem, but when I try to install the test file in pypgsql; this show this error:</P> <P><BR>[root@ns1 pypgsql]# python test/PgSQLTestCases.py<BR>Traceback (most recent call last):<BR> File "test/PgSQLTestCases.py", line 89, in ?<BR> from pyPgSQL import PgSQL<BR> File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 391, in ?<BR> from libpq import *<BR> File "/usr/lib/python2.2/site-packages/pyPgSQL/libpq/__init__.py", line 23, in ?<BR> from libpq import *<BR>ImportError: /usr/lib/python2.2/site-packages/pyPgSQL/libpq/libpqmodule.so: undefined symbol: PyUnicodeUCS2_EncodeDecimal</P> <P><BR>Could someone give me an idea of how I can fix this problem?</P> <P>Thank.<BR><BR></P></DIV></DIV></div><br clear=all><hr>MSN Amor <a href="http://g.msn.com/8HMBES/2752??PS=">Busca tu ½ naranja</a> </html> |