Mapserv can't find libpq.so

Efren Serra efren.serra.ctr at METNET.NAVY.MIL
Mon Aug 13 11:31:49 EDT 2007


Bill mapserver with rpath flag; it's the safest thing to do.

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Bill Thoen
Sent: Saturday, August 11, 2007 1:37 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Mapserv can't find libpq.so


Never mind... Yes, you DO have to add /usr/local/pgsql/lib to
/etc/ld.so.conf and run /sbin/ldconfig so that mapserv can find the library.
I've aded this to my notes so I won't have *this* problem again.


On Sat, Aug 11, 2007 at 02:24:00PM -0600, Bill Thoen wrote:
> I just built a 4.10.2 version of MapServer from source and included 
> support for GEOS, GDAL, POstgis and Proj4, but now when mapserv runs 
> it dies saying it can't find libpq.so. However, the library is sitting 
> in /usr/local/pqsql/lib. Do I need to add this path to ld.so.conf, or 
> should I look elsewhere to fix this?
> 
> The last time I built a copy of MapServer, I didn't have this problem, 
> and as I took notes then, I have just been following these. Obviously 
> I left something important out, but would appreciate it if someone 
> could tell me what's wrong.
> 
> Thanks,
> 
> - Bill Thoen
> 



More information about the mapserver-users mailing list