ID: 20269 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: GD related Operating System: RHL7.3 PHP Version: 4.3.0-pre2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This error occures becuase the linker (ld) cannot find the jpeg library. You can fix this problem by editing the config.nice file inside the php4 directory and adding LDFLAGS='-L/path/to/lib' \ above the ./configure \ For example is your libjpeg.so resides inside /usr/local/lib, you'd add -L/usr/local. Once you've edited the file, remove config.cache and run ./config.nice, after that make; make install; should work. Previous Comments: ------------------------------------------------------------------------ [2002-11-05 17:26:01] [EMAIL PROTECTED] modules/php4/libphp4.a(gd_jpeg.o): In function `fatal_jpeg_error': /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:57: undefined reference to `jpeg_destroy' modules/php4/libphp4.a(gd_jpeg.o): In function `gdImageJpegCtx': /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:135: undefined reference to `jpeg_std_error' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:147: undefined reference to `jpeg_CreateCompress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:153: undefined reference to `jpeg_set_defaults' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:155: undefined reference to `jpeg_set_quality' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:164: undefined reference to `jpeg_simple_progression' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:175: undefined reference to `jpeg_destroy_compress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:181: undefined reference to `jpeg_start_compress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:190: undefined reference to `jpeg_write_marker' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:213: undefined reference to `jpeg_write_scanlines' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:245: undefined reference to `jpeg_write_scanlines' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:251: undefined reference to `jpeg_finish_compress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:253: undefined reference to `jpeg_destroy_compress' modules/php4/libphp4.a(gd_jpeg.o): In function `gdImageCreateFromJpegCtx': /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:298: undefined reference to `jpeg_std_error' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:312: undefined reference to `jpeg_CreateDecompress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:316: undefined reference to `jpeg_read_header' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:347: undefined reference to `jpeg_start_decompress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:440: undefined reference to `jpeg_read_scanlines' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:453: undefined reference to `jpeg_finish_decompress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:458: undefined reference to `jpeg_destroy_decompress' /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:463: undefined reference to `jpeg_destroy_decompress' modules/php4/libphp4.a(gd_jpeg.o): In function `jpeg_gdIOCtx_src': /usr/local/src/php-4.3.0pre2/ext/gd/libgd/gd_jpeg.c:718: undefined reference to `jpeg_resync_to_restart' collect2: ld returned 1 exit status ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20269&edit=1