Re: GD with Jpeg Support Problems

From: Date: Tue, 20 Feb 2001 15:51:00 +0000
Subject: Re: GD with Jpeg Support Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40753@lists.php.net to get a copy of this message
what does configure spit out when compiled with your options? does it say checking for libjpeg (needed by gd-1.8+)... yes checking for jpeg_read_header in -ljpeg... yes checking for gdImageCreateFromJpeg in -lgd... yes if not find out where your jpeg libs are [ie. /usr/local/lib] then change your --with-jpeg-dir=/usr/local -- Chris Lee Mediawaveonline.com em. lee@mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Michael Bryan"" <mbryan@radiocafe.com> wrote in message news:004001c09af6$ded35cc0$f45efea9@default... > Hey Guys.. > > I've been working on installing GD with support for Jpeg. I cannot seem to > get it working in PHP, however. When I try to use it in practice, I get the > following error: > > Warning: ImageCreateFromJpeg: No JPEG support in this PHP build > > Here's the configure command I used: > > ./configure --with-apache=/usr/local/src/SOURCES/apache_1.3.12 --with-mysql= > /usr/local --with-jpeg-dir=/usr --with-gd=/usr/local --enable-track-vars > > I've tried all different types of directories in the --with-jpeg, and I > can't get anything to work. I thought that perhaps GD wasn't compiled with > Jpeg Support, so I went ahead and installed the RPMs from Redhat, which I > know are compiled with that support..because they require the libjpg package > to install. > > What am I doing wrong? I've compiled until I'm blue in the face. > > The GD Section of phpinfo() shows the following information: > -------------------- > GD Support enabled > GD Version 1.6.2 or higher > PNG Support enabled > WBMP Support enabled > --------------------- > But, why is Jpeg Support not enabled? > > Thanks, > > Michael Bryan > Virginia Beach, VA > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40753) next »