<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-reply;
font-family:Arial;
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ES link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'>-- Edit /etc/ld.so.conf <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'>-- Add a line with the
library path “/example/lib” <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'>-- Run
“ldconfig”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'>I hope to help you.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:blue'>Best Regards;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> UMN MapServer
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span style='font-weight:
bold'>En nombre de </span></b>Seethaler, Lyle [USA]<br>
<b><span style='font-weight:bold'>Enviado el:</span></b> miércoles, 30 de enero
de 2008 17:42<br>
<b><span style='font-weight:bold'>Para:</span></b>
MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Asunto:</span></b> [UMN_MAPSERVER-USERS]
Libgd.so.2 -> Library not found</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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. <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in advance!<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Lyle<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'># mapserv<br>
ld.so.1: mapserv: fatal: libgd.so.2: open failed: No such file or directory<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'># 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<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Example taken from Makefile:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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 =<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>