note 10623 deleted from function.imagecreatefromjpeg by didou

From: Date: Wed, 15 Oct 2003 17:27:20 +0000
Subject: note 10623 deleted from function.imagecreatefromjpeg by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58645@lists.php.net to get a copy of this message
Note Submitter: scotty99@earthlink.net ---- Yes, you'll need the gd library for this to work. Yes you must recompile PHP. Yes, when you add --with-gd-lib=/usr/local/lib to ./Configure you will get an error of "can't find libgd.a|so" even though both are clearly in your /usr/local/lib directory. Before you get ready to throw your computer out the window due to frustration, just change "usr/local/lib" to "usr/local" . For some extremely stupid reason the PHP config appends "lib" to the end. Luckily I found this answer during a deja search before I wasted another few hours. Perhaps configure --help should say path to the directory that contains the directory(which must be named "lib") that your gd library is contained in. Scott Scott

« previous php.notes (#58645) next »