<html 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=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C50F81.B0411420">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle15
        {mso-style-type:personal-compose;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:black;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
</head>

<body lang=EN-US style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I’m installing MapServer on a new server running Linux RedHat ES.<span
style="mso-spacerun: yes">  </span>I’ve installed gd-2.0.33.<span
style="mso-spacerun: yes">  </span>After compiling mapserver and running
it at the command line to see if it’s working, I get the following error:<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>./mapserv:<span style="mso-spacerun: yes">  </span>error while
loading shared libraries:<span style="mso-spacerun: yes"> 
</span>libgd.so.2:<span style="mso-spacerun: yes">  </span>cannot open
shared object file: No such file or directory<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I do indeed have libgd.so.2<span style="mso-spacerun: yes"> 
</span>installed in /usr/local/lib.<span style="mso-spacerun: yes"> 
</span>The configuration setup I used for mapserver is:<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>./configure –with-freetype=/usr/local/include/freetype2/freetype –with-zlib=/usr/local
–with-gd=/usr/local –with-proj=/usr/local –with-gdal=/usr/local/bin/gdal-config
–with-php=/usr/local<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Any ideas why mapserver can’t see the library?<span style="mso-spacerun:
yes">  </span>I’m at a loss.<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle18><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>-Jeff<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle17><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'> <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>

</div>

</body>

</html>