<div dir="ltr"><div><font face="courier new, monospace">$ ls -l /usr/lib*/libgd*</font></div><div><font face="courier new, monospace">lrwxrwxrwx 1 root root 23 2014-01-20 11:04 /usr/lib64/libgdbm_compat.so.3 -> libgdbm_compat.so.3.0.0</font></div>
<div><font face="courier new, monospace">-rw-r--r-- 1 root root 10120 2009-12-05 16:15 /usr/lib64/libgdbm_compat.so.3.0.0</font></div><div><font face="courier new, monospace">lrwxrwxrwx 1 root root 16 2014-01-20 11:04 /usr/lib64/libgdbm.so.3 -> libgdbm.so.3.0.0</font></div>
<div><font face="courier new, monospace">-rw-r--r-- 1 root root 22768 2009-12-05 16:15 /usr/lib64/libgdbm.so.3.0.0</font></div><div><font face="courier new, monospace">lrwxrwxrwx 1 root root 23 2014-01-20 11:04 /usr/lib/libgdbm_compat.so.3 -> libgdbm_compat.so.3.0.0</font></div>
<div><font face="courier new, monospace">-rw-r--r-- 1 root root 10120 2009-12-05 16:15 /usr/lib/libgdbm_compat.so.3.0.0</font></div><div><font face="courier new, monospace">lrwxrwxrwx 1 root root 16 2014-01-20 11:04 /usr/lib/libgdbm.so.3 -> libgdbm.so.3.0.0</font></div>
<div><font face="courier new, monospace">-rw-r--r-- 1 root root 22768 2009-12-05 16:15 /usr/lib/libgdbm.so.3.0.0</font></div><div><br></div><div><br></div><div>Aw.</div><div><br></div><div><div><font face="courier new, monospace">$ sudo apt-get install php5-gd</font></div>
<div><font face="courier new, monospace">Reading package lists... Done</font></div><div><font face="courier new, monospace">Building dependency tree</font></div><div><font face="courier new, monospace">Reading state information... Done</font></div>
<div><font face="courier new, monospace">The following extra packages will be installed:</font></div><div><font face="courier new, monospace"> apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common fontconfig-config libapache2-mod-php5 libapr1</font></div>
<div><font face="courier new, monospace"> libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libfontconfig1 libgd2-xpm libjpeg62 libt1-5 libxpm4</font></div><div><font face="courier new, monospace"> php5-common ssl-cert ttf-dejavu-core</font></div>
<div><font face="courier new, monospace">Suggested packages:</font></div><div><font face="courier new, monospace"> apache2-doc apache2-suexec apache2-suexec-custom php-pear libgd-tools php5-suhosin</font></div><div><font face="courier new, monospace">The following NEW packages will be installed:</font></div>
<div><font face="courier new, monospace"> apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common fontconfig-config libapache2-mod-php5 libapr1</font></div><div><font face="courier new, monospace"> libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libfontconfig1 libgd2-xpm libjpeg62 libt1-5 libxpm4</font></div>
<div><font face="courier new, monospace"> php5-common php5-gd ssl-cert ttf-dejavu-core</font></div><div><font face="courier new, monospace">0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.</font></div><div>
<font face="courier new, monospace">Need to get 9,535kB of archives.</font></div><div><font face="courier new, monospace">After this operation, 26.0MB of additional disk space will be used.</font></div></div><div><br></div>
<div>Oh, there it is. I tried that before, but I must have missed seeing the libgd2-xpm.</div><div><br></div><div>I ended up going with this:</div><div><br></div><div><div><font face="courier new, monospace">$ sudo apt-get install libgd2-noxpm</font></div>
<div><font face="courier new, monospace">Reading package lists... Done</font></div><div><font face="courier new, monospace">Building dependency tree</font></div><div><font face="courier new, monospace">Reading state information... Done</font></div>
<div><font face="courier new, monospace">The following extra packages will be installed:</font></div><div><font face="courier new, monospace"> libjpeg62</font></div><div><font face="courier new, monospace">Suggested packages:</font></div>
<div><font face="courier new, monospace"> libgd-tools</font></div><div><font face="courier new, monospace">The following NEW packages will be installed:</font></div><div><font face="courier new, monospace"> libgd2-noxpm libjpeg62</font></div>
<div><font face="courier new, monospace">0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.</font></div><div><font face="courier new, monospace">Need to get 308kB of archives.</font></div><div><font face="courier new, monospace">After this operation, 885kB of additional disk space will be used.</font></div>
</div><div><br></div><div><br></div><div>Thanks, all!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 11:01 AM, Gilles Detillieux <span dir="ltr"><<a href="mailto:grdetil@scrc.umanitoba.ca" target="_blank">grdetil@scrc.umanitoba.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/21/2014 09:58 AM, Gilbert E. Detillieux wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2014-01-21 09:38, Kevin McGregor wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm setting up a Ubuntu 10.04.4 LTS server at work for a client who<br>
plans to install something called "Stori" (an Oracle-ish thing,<br>
<a href="http://stori.orapub.com" target="_blank">stori.orapub.com</a> <<a href="http://stori.orapub.com" target="_blank">http://stori.orapub.com</a>>). The requirements FAQ on<br>
that site is vague, saying "You can install our product on any Linux<br>
server." Okay, so what else? "You will need the gd package; do rpm -q gd<br>
to ensure it's installed." That's for a Red Hat-derived distro<br>
presumably, so what's the equivalent for Debian/Ubuntu? The only package<br>
I found was php5-gd, which seems like overkill as it brings in a ton of<br>
other stuff. Is gd installed by default in Ubuntu 10.04?<br>
</blockquote>
<br>
I have no idea if it would be there by default, but you could try running "locate /libgd." on your system to see if the library files are installed. (BTW, on an Ubuntu 12.04.4 LTS system here, they were already installed, but then this system has PHP and a bunch of support packages for a web site. The package name for gd on this Ubuntu distro is "libgd2-xpm".)<br>
<br>
</blockquote>
<br></div>
On RHEL 5 & 6, the "gd" package installs a single library (libgd.so.2.0.0, though the actual package version is 2.0.33 or 2.0.35) and related docs, so I think all you'd need to do is run "ls -l /usr/lib*/libgd.so*" to see if it's there already. If it's not there on the Ubuntu system, then it's a matter of finding and installing the right package. Searching online suggests these commands might do the trick: "sudo apt-cache search libgd" to find it, and something like "sudo apt-get install libgd2" to install it (though the actual package name may differ). There are probably any number of packages you could install that would drag in the library as a dependency, so there are many ways to get it installed, but I imagine you're looking for the minimal set. As Gilbert suggested, libgd2-xpm may well be just that.<br>
<br>
See <a href="http://www.linuxquestions.org/questions/debian-26/how-to-install-gd-image-library-on-debian-155068/" target="_blank">http://www.linuxquestions.org/<u></u>questions/debian-26/how-to-<u></u>install-gd-image-library-on-<u></u>debian-155068/</a> and <a href="http://www.perlmonks.org/?node_id=868016" target="_blank">http://www.perlmonks.org/?<u></u>node_id=868016</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Gilles R. Detillieux E-mail: <<a href="mailto:grdetil@scrc.umanitoba.ca" target="_blank">grdetil@scrc.umanitoba.ca</a>><br>
Spinal Cord Research Centre WWW: <a href="http://www.scrc.umanitoba.ca/" target="_blank">http://www.scrc.umanitoba.ca/</a><br>
Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 0J9 (Canada)</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca" target="_blank">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/<u></u>listinfo/roundtable</a><br>
</div></div></blockquote></div><br></div>