Installation in README.
Andrzej Dabrowski <andrewrudy-h7QdYz1kt/[email protected]> Sat, 21 Feb 2004 16:18:44 +0100
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
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"... [[email protected] 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 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click