big pb: gdimagecreatefromjpeg not working

From: Date: Tue, 23 Oct 2001 11:02:43 +0000
Subject: big pb: gdimagecreatefromjpeg not working
Groups: php.install 
Request: Send a blank email to php-install+get-4709@lists.php.net to get a copy of this message
Hi all, I am having a problem with our GD library "friend" ;-) ok, here it is: I have installed gd with the correct jpeg libraries. I then ./configure PHP: ./configure --with-apxs=/usr/apache/bin/apxs --with-zlib=/usr --with-oci8=/export/home0/oracle/OraHome --with-gd=/usr/local --with-jpeg-dir=/usr/local/lib --with-png=/usr/local/lib works fine: checking for the location of -ljpeg... yes checking for the location of -lpng... yes ... checking for gdImageCreateFromJpeg in -lgd... yes ok so that means (I suppose) that the function gdImageCreateFromJpeg works fine and should be ok in php code...... Then I do a make and make install, no problems. BUT: when I do this code: $img=gdImageCreateFromJpeg(".test.jpg"); $blue=ImagecolorAllocate($img,0,0,250); imagestring($img,4,10,4,"Connexion",$blue); it then sends me out an error: Fatal error: Call to undefined function: gdimagecreatefromjpeg() in /usr/apache/savophone/test.php Please HELP !!!! Thanks a lot in advance, Nicolas.

« previous php.install (#4709) next »