From: Andrzej D. <and...@o2...> - 2004-02-21 15:23:33
|
Hi! I think that in file README.txt in chapter INSTALLATION it should be one point more. I installed pyPgSQL without any problems but when I tried run example script "basic.py"... [postgres@localhost python]$ python basic.py Traceback (most recent call last): File "./basic.py", line 3, 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: libpq.so.3: cannot open shared object file: No such file or directory It is a problem and some people had the same one. It is an answer for this problem. In file /etc/ld.so.conf one should write "/usr/local/pgsql/lib/" and run ldconfig. I think that it should be in README file. Andrew PS I'm Polish, so my English isn't very good :P |