Problem: MapServer 4.10.0 with postgis on Debian 3.1

Aaron Racicot aaronr at Z-PULLEY.COM
Wed Jan 3 16:02:35 EST 2007


You need to add the shared object path to your ld.so.conf file and run
ldconfig.  Try adding: /usr/local/pgsql/lib to your /etc/ld.so.conf file and
running /sbin/ldconfig as root.

A

+----------------------------------------+
 Aaron Racicot - GIS Programmer   
 360.221.2441 - aaronr at ecotrust.org          
+----------------------------------------+
 e c o t r u s t                        
 pobox 1614
 langley wa 98260
 www.ecotrust.org                       
+----------------------------------------+

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Kai Behncke
Sent: Wednesday, January 03, 2007 12:52 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Problem: MapServer 4.10.0 with postgis on
Debian 3.1

Hello List,
since a couple of time I try to get MapServer 4.10.0 to get to run
--with-postgis on Debian 3.1 Sarge.

PostgreSQL (8.2) and PostGIS (1.1.6) is successfully configured, compiled
and
installed.
I configure MapServer without any problems with:

./configure --with-proj --with-ogr --with-gdal
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wmsclient
--with-wmsserver --with-wfsclient --with-wfs --with-tiff --with-jpeg
--with-php=/usr/local/php --with-freetype --with-png

...then I compile it without any errors, but when I try to check the version
with "./mapserv -v" I always get:

"./mapserv: error while loading shared libraries: libpq.so.5: cannot open
shared object file: No such file or directory"

Has anybody got a clue what I can do to solve the problem?
Thank you very much......




--
Dipl.-Geogr. Dipl.-Umweltw. Kai Behncke

Institut für Geoinformatik und Fernerkundung (IGF)
Universität Osnabrück
Kolpingstr. 7
49074 Osnabrück

Raum: 01/308
Tel.: +49 541 969-4450
E-Mail: mailto:kbehncke at igf.uni-osnabrueck.de 
Web:  http://www.igf.uni-osnabrueck.de



More information about the mapserver-users mailing list