[mapserver-users] building Mapserver --with-postgis
Frank Warmerdam
warmerdam at pobox.com
Thu Aug 16 08:24:19 PDT 2001
Andrey piliperz wrote:
> Hi!
> I am tring to build mapserver (CVS version) with postgis support,
> but when I run ./mapserv the next message appears:
> ./mapserv: error while loading shared libraries: libpq.so.2: cannot open shared object file: No such file or directory
>
> I was configuring mapserver with --with-postgis=/usr/local/bin/pg_config option
> and it builds without problems.
>
> Postgres and postgis are set up and working normally.
>
> What may be wrong?
> (mapserver 3.4 doesn't show this message)
Andrey,
What does "pg_config --libdir" report? Is the reported directory in your
LD_LIBRARY_PATH? If not you will get the above error.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list