[Mapserver-users] Compile error

Nicolas Boretos nicolas at maich.gr
Thu Jun 17 02:17:41 EDT 2004


Kralidis,Tom [Burlington] wrote:

>Hi,
>
>I'm running into issues in deploying MapServer.
>
>Info:
>
>- OS: Fedora Core 2
>- supporting libs installed in default locations
>
>I've included my terminal session in trying to compile (attachement
>build_output.txt).
>
>Note that it's looking for the libpq lib.  I even tried copying
>/usr/local/pgsql/lib/libpq* to /usr/local/lib, but ldd still gives me
>problems for libpq.
>
>Any suggestions are valued.
>
>Thanks
>
>..Tom
>
>=========================
>Tom Kralidis
>Systems Scientist
>Environment Canada
>Tel: +01-905-336-4409
>http://www.ec.gc.ca/
>  
>
Hi Tom,

I usually add the shared lib directory to the /etc/ld.so.conf file, and 
then I do
an "ldconfig" in that directory, to update.
Some OS's e.g. Solaris sometime need explicit lib path, e.g.

LD_LIBRARY_PATH="path to libs...." : export LD_LIBRARY_PATH

regards,

nicolas boretos





More information about the mapserver-users mailing list