sgillies at FRII.COM
Sun Dec 11 17:44:54 EST 2005
On Dec 11, 2005, at 3:26 PM, Michael Hinke wrote:
> I am in the process of trying to configure Mapserver 4.6.1 for Python
> mapscript. When I test the installation I receive several errors,
> the are:
> [mike at azuma cases]$ python runalltests.py -v
> Traceback (most recent call last):
> File "runalltests.py", line 59, in ?
> m = __import__(test)
> line 39, in ?
> from testing import mapscript, MapTestCase, TESTMAPFILE,
> line 61, in ?
> import mapscript
> File "../../build/lib.linux-i686-2.4/mapscript.py", line 4, in ?
> import _mapscript
> ImportError: libpq.so.4: cannot open shared object file: No such
> file or
> I assume that this has to do with changing paths. Any ideas? Uh,
> I am new
> to all of this.
Looks like libpq isn't on your library path. On my Linux system,
libpq is in /usr/local/pgsql/lib, and I had to add that path to
BTW, 4.6.2 is out and has a couple useful bug fixes.
sgillies at frii dot com
More information about the mapserver-users