<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN class=834203016-30012008>As a result of
restrictions on the container I am working I can not build libraries into the
/usr/lib/ directories. As a result the libraries that I built for
MapServer (gd, curl, etc) are in a different location. I specify these
locations in the configuration file and the makefile lists these locations
correctly and runs fine. However once I test the mapserv executable it
does not see these libraries. Am I missing a parameter
for setting these library locations into the cgi? Should i
be setting an environment variable with these locations? Any help in
this issue is much appreciated. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=834203016-30012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=834203016-30012008>Thanks in
advance!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=834203016-30012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=834203016-30012008>Lyle</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=834203016-30012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=834203016-30012008></SPAN></FONT><FONT
face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># mapserv<BR>ld.so.1: mapserv: fatal: libgd.so.2:
open failed: No such file or directory</FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2># ldd
mapserv<BR> libgd.so.2
=> (file not
found)<BR> libjpeg.so.62
=>
/usr/lib/libjpeg.so.62<BR>
libfreetype.so.6 =>
/usr/sfw/lib/libfreetype.so.6<BR>
libpng.so.3 =>
/usr/lib/libpng.so.3<BR> libz.so.1
=>
/usr/lib/libz.so.1<BR> libXpm.so.4
=>
/usr/lib/libXpm.so.4<BR> libX11.so.4
=>
/usr/lib/libX11.so.4<BR> libtiff.so.3
=> /usr/lib/libtiff.so.3<BR>
libproj.so.0 => (file not
found)<BR> libgdal.so.1 =>
(file not found)<BR> libpq.so.5
=> (file not
found)<BR> librt.so.1
=>
/usr/lib/librt.so.1<BR> libdl.so.1
=>
/usr/lib/libdl.so.1<BR> libcurl.so.4
=> (file not found)<BR>
libssl.so.0.9.7 =>
/usr/sfw/lib/libssl.so.0.9.7<BR>
libcrypto.so.0.9.7 =>
/usr/sfw/lib/libcrypto.so.0.9.7<BR>
libldap.so.5 =>
/usr/lib/libldap.so.5<BR>
libsocket.so.1 =>
/usr/lib/libsocket.so.1<BR>
libnsl.so.1 =>
/usr/lib/libnsl.so.1<BR>
libclntsh.so.10.1 => (file not
found)<BR> libgeos_c.so.1
=> (file not
found)<BR> libpthread.so.1
=>
/usr/lib/libpthread.so.1<BR>
libxml2.so.2 =>
/usr/lib/libxml2.so.2<BR> libm.so.2
=>
/usr/lib/libm.so.2<BR> libstdc++.so.6
=>
/usr/sfw/lib/libstdc++.so.6<BR>
libc.so.1 =>
/usr/lib/libc.so.1<BR> libgcc_s.so.1
=>
/usr/sfw/lib/libgcc_s.so.1<BR>
libXext.so.0 =>
/usr/openwin/lib/libXext.so.0<BR>
libaio.so.1 =>
/lib/libaio.so.1<BR> libmd5.so.1
=> /lib/libmd5.so.1<BR>
libsasl.so.1 =>
/usr/lib/libsasl.so.1<BR> libnspr4.so
=>
/usr/lib/mps/libnspr4.so<BR>
libplc4.so =>
/usr/lib/mps/libplc4.so<BR> libnss3.so
=>
/usr/lib/mps/libnss3.so<BR> libssl3.so
=>
/usr/lib/mps/libssl3.so<BR> libmp.so.2
=>
/lib/libmp.so.2<BR> libscf.so.1
=> /lib/libscf.so.1<BR>
libthread.so.1 =>
/lib/libthread.so.1<BR> libsoftokn3.so
=>
/usr/lib/mps/libsoftokn3.so<BR>
libplds4.so =>
/usr/lib/mps/libplds4.so<BR>
libdoor.so.1 =>
/lib/libdoor.so.1<BR> libuutil.so.1
=>
/lib/libuutil.so.1<BR> libbsm.so.1
=> /lib/libbsm.so.1<BR>
libsecdb.so.1 =>
/lib/libsecdb.so.1<BR> libtsol.so.2
=> /lib/libtsol.so.2<BR>
libcmd.so.1 =>
/lib/libcmd.so.1<BR>
/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1<BR>
/platform/SUNW,Sun-Fire-480R/lib/libmd5_psr.so.1<BR>
/usr/lib/mps/cpu/sparcv8plus/libnspr_flt4.so</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN class=834203016-30012008>Example
taken from Makefile:</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=834203016-30012008></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=834203016-30012008>GDFONT_OBJ=gd-1.2/gdfontt.o gd-1.2/gdfonts.o
gd-1.2/gdfontmb.o gd-1.2/gdfontl.o gd-1.2/gdfontg.o<BR>GD_INC=
-I/var/usrtmp/local/include<BR>GD_LIB= -L/var/usrtmp/local/lib -lgd
-L/usr/lib -ljpeg -lfreetype -lpng -lz -lXpm
-lX11<BR>GD= -DUSE_GD_GIF -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS<BR>GD_STATIC
=<BR></DIV></SPAN></FONT></DIV></FONT></DIV>
<DIV> </DIV></BODY></HTML>