ImportError: /usr/lib/python2.2/.../pyPgSQL/libpq/libpqmodule.so: undefined symb
"Andres Nates" <[email protected]> Wed, 28 Jan 2004 11:16:26 -0500
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have installed in my machine Linux Red Hat 7.3 with the following packages: postgresql-docs-7.2.1-2PGDG postgresql-contrib-7.2.1-2PGDG postgresql-python-7.2.1-2PGDG postgresql-tk-7.2.1-2PGDG postgresql-jdbc-7.2.1-2PGDG postgresql-7.2.1-2PGDG postgresql-devel-7.2.1-2PGDG postgresql-perl-7.2.1-2PGDG postgresql-server-7.2.1-2PGDG postgresql-test-7.2.1-2PGDG postgresql-libs-7.2.1-2PGDG postgresql-odbc-7.2.1-2PGDG postgresql-tcl-7.2.1-2PGDG egenix-mx-base-2.0.4-py2.2_1 mx-2.0.3-1 python-1.5.2-38 python-xmlrpc-1.5.1-7.x.3 rpm-python-4.0.4-7x.18 postgresql-python-7.2.1-2PGDG pythonlib-1.23-1 python-clap-1.0.0-3 python-devel-2.2.1-17 mod_python-2.7.8-2 libxslt-python-1.0.33-1 python2-2.2-16 python-popt-0.8.8-7.x.2 ibxml2-python-2.5.9-1 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: [root-hoUDle0dA/[email protected] pypgsql]# python test/PgSQLTestCases.py Traceback (most recent call last): File "test/PgSQLTestCases.py", line 89, in ? from pyPgSQL import PgSQL File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 391, in ? from libpq import * File "/usr/lib/python2.2/site-packages/pyPgSQL/libpq/__init__.py", line 23, in ? from libpq import * ImportError: /usr/lib/python2.2/site-packages/pyPgSQL/libpq/libpqmodule.so: undefined symbol: PyUnicodeUCS2_EncodeDecimal Could someone give me an idea of how I can fix this problem? Thank. ---------- MSN Amor Busca tu ½ naranja ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn