GD Library

Abdul Salam abdul at netsite.co.uk
Tue May 6 15:52:11 BST 2003


Thanks for that. I even tried this. But, no luck at all...

Many thanks,

-Abdul


-----Original Message-----
From: James [mailto:James at reftech.co.uk] 
Sent: 06 May 2003 03:39
To: Abdul Salam; 'Matthew Seaman'
Cc: freebsd-users at uk.freebsd.org
Subject: Re: GD Library

I've never had problems (touches beech effect foil chipboard) with
getting
GD working happily, and I've watched this with some interest.  Briefly
scouting the PHP site chucked this up.

Does it make any sense to anyone?

shwan at korea dot com
19-Mar-2002 05:14

If you upagrade the GD from 1.8.X to 2.0.X, you should delete
config.cache
before reconfigure the php source.


----- Original Message -----
From: "Abdul Salam" <abdul at netsite.co.uk>
To: "'Matthew Seaman'" <m.seaman at infracaninophile.co.uk>
Cc: <freebsd-users at uk.freebsd.org>
Sent: Tuesday, May 06, 2003 2:48 PM
Subject: RE: GD Library


> Hi..
>
> Things are getting more and more wiered. I have only one installation
of
> Apache/php on my machine. I have this line on my httpd.conf
>
> LoadModule php4_module /usr/local/www/modules/libphp4.so
>
> Which make sure that the loaded module is definitely in the right
> directory. The ldd output I sent you earlier is run against this file,
> which says it is linked to gd2. So, where is the missing link. My
> browser is not cached as I am getting the latest "./configure" string
in
> phpinfo(). And because of the older version of GD Library I am getting
> errors in my programs too (Like Fatal error: Call to undefined
function:
> imagecreatetruecolor() in /usr/home/xxx/www/classes/thumbnailer.php on
> line 66). Any suggestions will be appreciated.
>
> Thanks,
>
> -Abdul
>
>
> -----Original Message-----
> From: Matthew Seaman [mailto:m.seaman at infracaninophile.co.uk]
> Sent: 06 May 2003 01:53
> To: Abdul Salam
> Cc: freebsd-users at uk.freebsd.org
> Subject: Re: GD Library
>
> 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
> >
> > ./libphp4.so:
> > libmysqlclient.so.10 =>
> > /usr/local/lib/mysql/libmysqlclient.so.10 (0x28259000)
> > libgd.so.4 => /usr/local/lib/libgd.so.4 (0x28277000)
> > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x282c4000)
> > libm.so.2 => /usr/lib/libm.so.2 (0x282dd000)
> > libc.so.5 => /usr/lib/libc.so.5 (0x2806c000)
> > libz.so.2 => /usr/lib/libz.so.2 (0x282fa000)
> > libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28308000)
> > libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x2832d000)
> > libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2834a000)
> > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x28399000)
> > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x283a7000)
> >
>
> Good --- you've definitely got PHP linked against GD2.
>
> > which clearly says gd is linked to libgd.so.4 (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
> >
> > array(9) {
> > ["GD Version"]=> string(15) "1.6.2 or higher"
> > ["FreeType Support"]=> bool(false)
> > ["T1Lib Support"]=> bool(false)
> > ["GIF Read Support"]=> bool(true)
> > ["GIF Create Support"]=> bool(false)
> > ["JPG Support"]=> bool(true)
> > ["PNG Support"]=> bool(true)
> > ["WBMP Support"]=> bool(true)
> > ["XBM Support"]=> bool(false)
> > }
> >
> > 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
> > libgd.so to libgd.so.4. 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.
>
> Cheers,
>
> Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
>                                                       Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
> Tel: +44 1628 476614                                  Bucks., SL7 1TH
UK
>
>
> ________________________________________
> Mail and any attachments checked for known
> viruses by Netsite Anti-Virus System.
> If you have any comments regarding this policy
> please direct them to postmaster at netsite.co.uk.
>
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
>
>


________________________________________
Mail and any attachments checked for known 
viruses by Netsite Anti-Virus System.
If you have any comments regarding this policy 
please direct them to postmaster at netsite.co.uk.


________________________________________
Mail and any attachments checked for known 
viruses by Netsite Anti-Virus System.
If you have any comments regarding this policy 
please direct them to postmaster at netsite.co.uk.




More information about the Ukfreebsd mailing list