GD Library

Matthew Seaman m.seaman at
Tue May 6 13:52:59 BST 2003

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 06, 2003 at 12:43:24PM +0100, Abdul Salam wrote:

> Thanks once again. ldd command was new to me and it is a really useful
> one. But, I still couldn't solve the issue. Here is the output of my ldd
> command
> ./
> =3D>
> /usr/local/lib/mysql/ (0x28259000)
> =3D> /usr/local/lib/ (0x28277000)
> =3D> /usr/lib/ (0x282c4000)
> =3D> /usr/lib/ (0x282dd000)
> =3D> /usr/lib/ (0x2806c000)
> =3D> /usr/lib/ (0x282fa000)
> =3D> /usr/local/lib/ (0x28308000)
> =3D> /usr/local/lib/ (0x2832d000)
> =3D> /usr/local/lib/ (0x2834a000)
> =3D> /usr/X11R6/lib/ (0x28399000)
> =3D> /usr/X11R6/lib/ (0x283a7000)

Good --- you've definitely got PHP linked against GD2.
> which clearly says gd is linked to (viz. GD2.x). But,
> phpinfo() and gd_info() commands of php shows the installed version is
> 1.6.2. Here is my gd_info() output=20
> array(9) {=20
> ["GD Version"]=3D> string(15) "1.6.2 or higher"=20
> ["FreeType Support"]=3D> bool(false)=20
> ["T1Lib Support"]=3D> bool(false)=20
> ["GIF Read Support"]=3D> bool(true)=20
> ["GIF Create Support"]=3D> bool(false)=20
> ["JPG Support"]=3D> bool(true)=20
> ["PNG Support"]=3D> bool(true)=20
> ["WBMP Support"]=3D> bool(true)=20
> ["XBM Support"]=3D> bool(false)=20
> }
> Which says the installed version is 1.6.2. I have installed GD from
> ports collection and php manually (To get the latest version 4.3.1). I
> don't know whether this makes any difference. Now, I have re-linked my
> to Still the issue remains same.

Hmmm... I definitely get "2.0 or higher" with PHP 4.3.1 and GD2.
Unless your browser is somehow caching the output of a previous run of
gd_info() or you've somehow updated one PHP/apache installation and
then managed to run gd_info() against a different one.  Stranger
things have happened.  If it isn't that, then I guess the difference
must be to do with the PHP version.

By the way, you should update your ports tree: PHP 4.3.1 (as the
www/mod_php4 port) has been in ports for 2 months now.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (FreeBSD)



More information about the Ukfreebsd mailing list