ID: 24195 User updated by: live at generation dot net Reported By: live at generation dot net -Status: Open +Status: Closed Bug Type: *Configuration Issues Operating System: RedHat 9 PHP Version: 4.3.2 New Comment:
Argh! Forget it. I needed the damned -devel packages. <grumble> Previous Comments: ------------------------------------------------------------------------ [2003-06-15 14:01:36] live at generation dot net Description: ------------ Hello. When trying to run ./configure with the options to enable GD with support for jpeg/png/etc, configure fails not being able to find the appropriate lib files. If I'm not mistaken, looking at the configure script, it's looking for libpng.so or libjpeg.so, while in RedHat 9, those files are called, for example, libpng.so.3, effectively making it so configure fails in finding the appropriate lib files... [15/06-14:47] [EMAIL PROTECTED] - /usr/local/src/php-4.3.2] # ls -l /usr/lib/libpng.so* lrwxrwxrwx 1 root root 19 Jun 12 16:34 /usr/lib/libpng.so.3 -> libpng12.so.0.1.2.2* lrwxrwxrwx 1 root root 19 Jun 12 16:34 /usr/lib/libpng.so.3.1.2.2 -> libpng12.so.0.1.2.2* Comparing with a RedHat 7.3 box, I see they used to also include a symlink pointing /usr/lib/libpng.so to /usr/lib/libpng.so.2. Guess they "forgot" or changed their way of doing. <sigh> The quickfix way is most probably to add the symlinks myself, pointing libpng.so to libpng.so.3, but still... Is there something to be done for this in PHP's configure script? Or should this be considered a RedHat bug? Reproduce code: --------------- ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-exif --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-ttf=/usr --with-freetype-dir=/usr --with-gettext <snip> checking for GD support... yes checking for the location of libjpeg... /usr checking for the location of libpng... /usr checking for the location of libXpm... no checking for FreeType 1.x support... /usr checking for FreeType 2... /usr checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes configure: error: libjpeg.(a|so) not found. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24195&edit=1
