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 >