<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Calibri;
}
@page Section1 {margin: 70.85pt 3.0cm 70.85pt 3.0cm; }
P.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
LI.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
DIV.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
SPAN.estilocorreo17 {
        FONT-FAMILY: Arial; COLOR: windowtext
}
SPAN.estilocorreo19 {
        FONT-FAMILY: Arial; COLOR: navy
}
SPAN.EstiloCorreo21 {
        FONT-FAMILY: Arial; COLOR: navy
}
DIV.Section1 {
        
}
</style>
<meta name="GENERATOR" content="MSHTML 8.00.7600.16588">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body lang="ES" link="blue" vlink="purple" ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div></div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">Hi Huber,</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">Did you remove the&nbsp;libpng<a></a> directory,&nbsp;untar<a></a>&nbsp;libpng<a></a> again, configure again with the options specified in Building_GrADS.pdf<a></a>, and make the system?</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">Ditto for the&nbsp;GD<a></a> build.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">
<div dir="ltr"><font size="2" face="tahoma">You must follow the order of the build as shown in the PDF file.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
John Huddleston, PhD, PE</font></div>
<div style="DIRECTION: ltr" id="divRpF880702">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On Behalf Of Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b>Sent:</b> Friday, July 02, 2010 11:06 AM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library<br>
</font><br>
</div>
<div></div>
<div>
<div class="Section1">
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Hello John,</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">I’ve done your instructions and also I compiled the zlib-1.2.3 library and I have the library libz.a, in supplibs/lib.
</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">And I have the same problem in libpng-1.2-18 compilation.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">What is going on with libpng library if I have the libz.a library in the folder supplibs/lib?</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">(In the end I list the compiled libraries)</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">Please help me,</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">Best regards.</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">Huber Paul Gilt López</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"># pwd</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">/home/huber/grads/supplibs/lib</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"># ls</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">libcurl.a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libhdf5_hl.a&nbsp;&nbsp; libncurses.a&nbsp;&nbsp; libreadline.a&nbsp; libxdr.a</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">libdf.a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libjpeg.a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libnetcdf.a&nbsp;&nbsp;&nbsp; libsz.a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libz.a</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB">libhdf5.a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libmfhdf.a&nbsp;&nbsp;&nbsp;&nbsp; libpng12.a&nbsp;&nbsp;&nbsp;&nbsp; libudunits.a</span></font></p>
<p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt" lang="EN-GB"></span></font>&nbsp;</p>
<div>
<div style="TEXT-ALIGN: center" class="MsoNormal" align="center"><font size="3" face="Times New Roman"><span style="FONT-SIZE: 12pt">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">De:</span></font></b><font size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org]
<b><span style="FONT-WEIGHT: bold">En nombre de </span></b>Huddleston, John<br>
<b><span style="FONT-WEIGHT: bold">Enviado el:</span></b> viernes, 02 de julio de 2010 9:30<br>
<b><span style="FONT-WEIGHT: bold">Para:</span></b> GrADS Users Forum<br>
<b><span style="FONT-WEIGHT: bold">Asunto:</span></b> Re: [gradsusr] error compiling gd library</span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">Hi Huber, On June 15th I sent you a PDF on how to build GrADS, please look it over,</span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></font>&nbsp;</p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">&nbsp;libpng doesn't build because you do not have the zlib.</span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></font>&nbsp;</p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">Get&nbsp;zlib from
<a href="ftp://grads.iges.org/grads/Supplibs/2.0/src/zlib-1.2.3.tar.gz" target="_blank">
ftp://grads.iges.org/grads/Supplibs/2.0/src/zlib-1.2.3.tar.gz</a></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></font>&nbsp;</p>
</div>
<div><span>
<p class="MsoNormal"><font color="black" size="2" face="Courier New"><span style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt" lang="EN-US">tar&nbsp;xvfz ./tarfiles/zlib-1.2.3.tar.gz&nbsp;<br>
cd zlib-1.2.3/<br>
./configure --prefix=$HOME/supplibs/src/zlib-1.2.3<br>
make<br>
make install<br>
cp ./lib/libz.a $HOME/supplibs/lib<br>
mkdir&nbsp;$HOME/supplibs/include/zlib<br>
cp ./include/zlib.h $HOME/supplibs/include/zlib</span></font><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></font>&nbsp;</p>
</div>
<div><span>
<p class="MsoNormal"><font color="black" size="2" face="Courier New"><span style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt" lang="EN-US">John</span></span></font><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt"></span></font>&nbsp;</p>
</div>
<div id="divRpF809398">
<div style="TEXT-ALIGN: center" class="MsoNormal" align="center"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal"><b><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</span></font></b><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">
 gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On Behalf Of Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Friday, July 02, 2010 8:17 AM<br>
<b><span style="FONT-WEIGHT: bold">To:</span></b> 'GrADS Users Forum'<br>
<b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: [gradsusr] error compiling gd library</span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt">John,</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">Because I found this error when I configure PNG library 1.2:</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">#cd /home/huber/grads/supplibs/src/libpng-1.2.18</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">./configure --disable-shared --prefix=/home/huber/grads/supplibs/src/libpng-1.2.18</span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">…</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">checking for pow in -lm... yes</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">checking for zlibVersion in -lz... no</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">configure: error: zlib not installed</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">I‘ve exported this variable CC=gcc by this other
</span></font><font color="black"><span style="COLOR: black" lang="EN-GB">CC='gcc -L/home/huber/grads/supplibs/lib -lz', then I’ve done make, and make install.
<span class="shorttext"><span style="BACKGROUND: white">Provably</span></span></span><span lang="EN-GB">
</span></font><font color="black"><span style="COLOR: black" lang="EN-GB">the libpng12.a library didn’t build well, how I can fix the previous error when I tried to configure the libpng12 library?</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">Please help me,</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">Best regards,</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">Huber Paul Gilt Lopez</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<div>
<div style="TEXT-ALIGN: center" class="MsoNormal" align="center"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="MsoNormal"><b><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt; FONT-WEIGHT: bold">De:</span></font></b><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">
 gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] <b><span style="FONT-WEIGHT: bold">En nombre de
</span></b>Huddleston, John<br>
<b><span style="FONT-WEIGHT: bold">Enviado el:</span></b> jueves, 01 de julio de 2010 18:46<br>
<b><span style="FONT-WEIGHT: bold">Para:</span></b> GrADS Users Forum<br>
<b><span style="FONT-WEIGHT: bold">Asunto:</span></b> Re: [gradsusr] error compiling gd library</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">Huber</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">You need the&nbsp;PNG&nbsp;library1.2&nbsp;not 1.4.&nbsp; Somehow you've installed a more recent version of&nbsp;PNG into /usr/local&nbsp;</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">Go back to the&nbsp;PNG 1.2 build and do a &quot;make install&quot; to load it into /usr/local</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">Otherwise, manually edit the&nbsp;Makefile and change it to point to your $(SUPPLIBS)&nbsp;PNG area.</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">John Huddleston</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
</div>
<div id="divRpF99626">
<div style="TEXT-ALIGN: center" class="MsoNormal" align="center"><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal"><b><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</span></font></b><font color="black" size="2" face="Tahoma"><span style="FONT-FAMILY: Tahoma; COLOR: black; FONT-SIZE: 10pt">
 gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On Behalf Of Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Thursday, July 01, 2010 4:15 PM<br>
<b><span style="FONT-WEIGHT: bold">To:</span></b> 'GrADS Users Forum'<br>
<b><span style="FONT-WEIGHT: bold">Subject:</span></b> [gradsusr] error compiling gd library</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt">Hello,</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">I want to compile the gd library, i used this command, but I have an unsatisfied symbol. How can I include these missing
 symbol?</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">#cd /home/huber/grads/supplibs/src/gd-2.0.34</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">#./configure --disable-shared\</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">&nbsp;--with-png=/home/huber/grads/supplibs/src/libpng-1.2.18\</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">&nbsp;--with-jpeg=/home/huber/grads/supplibs/src/jpeg-6b\</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">&nbsp;--prefix=/home/huber/grads/supplibs/src/gd-2.0.34</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt" lang="EN-GB">#make</span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">…</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">gcc -g -O2 -o gdparttopng gdparttopng.o&nbsp; -L/home/huber/grads/supplibs/lib -L/usr/local/lib/hpux32 -L/usr/lib/X11R4 -L/home/huber/grads/supplibs/src/jpeg-6b/lib
 ./.libs/libgd.a -L/usr/contrib/X11R6/lib /usr/local/lib/hpux32/libXpm.so /usr/local/lib/hpux32/libintl.so -lX11 -ljpeg /usr/local/lib/hpux32/libfontconfig.so /usr/local/lib/hpux32/libiconv.so /usr/local/lib/hpux32/libexpat.so /usr/local/lib/hpux32/libfreetype.so
 /usr/local/lib/hpux32/libpng14.so -lz -lm</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">ld: Unsatisfied symbol &quot;png_check_sig&quot; in file ./.libs/libgd.a[gd_png.o]</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">1 errors.</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">collect2: ld returned 1 exit status</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">make[2]: *** [gdparttopng] Error 1</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">make[2]: Leaving directory `/home/huber/grads/supplibs/src/gd-2.0.34'</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">make[1]: *** [all-recursive] Error 1</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">make[1]: Leaving directory `/home/huber/grads/supplibs/src/gd-2.0.34'</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt">make: *** [all] Error 2</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="3" face="Times New Roman"><span style="COLOR: black; FONT-SIZE: 12pt"></span></font>&nbsp;</p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">Please help me,</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">Best regards,</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">Huber Paul Gilt Lopez</span></font><font color="black"><span style="COLOR: black"></span></font></p>
<p class="MsoNormal"><font color="black" size="2" face="Arial"><span style="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt" lang="EN-GB">IGP-Peru</span></font><font color="black"><span style="COLOR: black"></span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>