#20269 [Bgs->Opn]: Something is broken when compiling with --with-jpeg as apache module
| From: | luci at conexim dot com dot au | Date: | Wed, 06 Nov 2002 03:03:54 +0000 |
| Subject: | #20269 [Bgs->Opn]: Something is broken when compiling with --with-jpeg as apache module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24161@lists.php.net to get a copy of this message | ||
ID: 20269
User updated by: luci@conexim.com.au
Reported By: luci@conexim.com.au
-Status: Bogus
+Status: Open
Bug Type: GD related
Operating System: RHL7.3
PHP Version: 4.3.0-pre2
New Comment:
The same config/compile configuration options have been used as with
previously working php 4.1.x, 4.2.x.
The problem may be with the fact the the php4.3.x requires implicitly
the new GD2 instead of the GD1 used before.
Previous Comments:
------------------------------------------------------------------------
[2002-11-05 21:00:52] iliaa@php.net
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.
------------------------------------------------------------------------
[2002-11-05 17:26:01] luci@conexim.com.au
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