<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hlp me instal gd, got eror - undefined reference to `gdImageCreateFromGd2Part' in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984475#M27913</link>
    <description>I understand that gd needs zlib. But you are installing zlib in a non-standard location (/usr/local/zlib instead of /usr/local). So it's likely that gd won't find it, which may be the cause of the error.&lt;BR /&gt;&lt;BR /&gt;I think you should stick with standard locations (i.e., do not specify --prefix).</description>
    <pubDate>Thu, 19 Apr 2007 02:45:59 GMT</pubDate>
    <dc:creator>Jerome Forissier</dc:creator>
    <dc:date>2007-04-19T02:45:59Z</dc:date>
    <item>
      <title>hlp me instal gd, got eror - undefined reference to `gdImageCreateFromGd2Part'</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984474#M27912</link>
      <description>before installing mrtg, completing the pre-req, &lt;BR /&gt;dowload the zlib-1.2.3.tar.bz2&lt;BR /&gt;# cd /usr/src&lt;BR /&gt;# tar jxvf zlib-1.2.3.tar.bz2&lt;BR /&gt;# cd /usr/src/zlib-1.2.3&lt;BR /&gt;# mkdir /usr/local/zlib&lt;BR /&gt;# make clean&lt;BR /&gt;# ./configure --prefix=/usr/local/zlib&lt;BR /&gt;# make&lt;BR /&gt;# make install&lt;BR /&gt;&lt;BR /&gt;Now I am trying to install gd-2-0.34 &lt;BR /&gt;# cd /usr/src&lt;BR /&gt;# tar jxvf gd-2.0.34.tar.bz2&lt;BR /&gt;# cd /usr/src/gd-2.0.34&lt;BR /&gt;# mkdir /usr/local/gd&lt;BR /&gt;# ./configure --prefix=/usr/local/gd --with-png=/usr/local/libpng \&lt;BR /&gt;--with-jpeg=/usr/local/jpeg&lt;BR /&gt;# make&lt;BR /&gt;got the following error&lt;BR /&gt;/usr/local/gd-2.0.34/gdparttopng.c:42: undefined reference to `gdImageCreateFromGd2Part'&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make[2]: *** [gdparttopng] Error 1&lt;BR /&gt;make[2]: Leaving directory `/usr/local/gd-2.0.34'&lt;BR /&gt;make[1]: *** [all-recursive] Error 1&lt;BR /&gt;make[1]: Leaving directory `/usr/local/gd-2.0.34'&lt;BR /&gt;make: *** [all] Error 2&lt;BR /&gt;&lt;BR /&gt;Plz help&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 19 Apr 2007 02:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984474#M27912</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-04-19T02:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: hlp me instal gd, got eror - undefined reference to `gdImageCreateFromGd2Part'</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984475#M27913</link>
      <description>I understand that gd needs zlib. But you are installing zlib in a non-standard location (/usr/local/zlib instead of /usr/local). So it's likely that gd won't find it, which may be the cause of the error.&lt;BR /&gt;&lt;BR /&gt;I think you should stick with standard locations (i.e., do not specify --prefix).</description>
      <pubDate>Thu, 19 Apr 2007 02:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984475#M27913</guid>
      <dc:creator>Jerome Forissier</dc:creator>
      <dc:date>2007-04-19T02:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: hlp me instal gd, got eror - undefined reference to `gdImageCreateFromGd2Part'</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984476#M27914</link>
      <description>Thanks Dear Jerome Forissier for superb help :)&lt;BR /&gt;&lt;BR /&gt;I followed your instruction to install zlib, i.e,&lt;BR /&gt;# ./configure&lt;BR /&gt;# make &lt;BR /&gt;# make install&lt;BR /&gt;then I tried to install the gd(as above), it went smooth/perfect ... thanks&lt;BR /&gt;Even I was also facing error installing libpng(&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1119599)..but" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1119599)..but&lt;/A&gt; rsolved when I installed the zlib, as per your instruction.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Thu, 19 Apr 2007 03:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hlp-me-instal-gd-got-eror-undefined-reference-to/m-p/3984476#M27914</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2007-04-19T03:17:12Z</dc:date>
    </item>
  </channel>
</rss>

