#30183 [Opn->Fbk]: Error building php with jpeg support
| From: | derick@php.net | Date: | Tue, 21 Sep 2004 22:07:11 +0000 |
| Subject: | #30183 [Opn->Fbk]: Error building php with jpeg support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66518@lists.php.net to get a copy of this message | ||
ID: 30183
Updated by: derick@php.net
Reported By: info at lab37 dot com
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: Linux Slackware 10.0
PHP Version: 4.3.8
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2004-09-21 17:50:51] info at lab37 dot com
slackware version added
------------------------------------------------------------------------
[2004-09-21 17:45:04] info at lab37 dot com
Description:
------------
I configure php with no errors, then when it builds i'm getting errors
shown at "Actual result".
I have latest GD library (2.028) with enabled jpeg support.
Path to jpeg library in --with-jpeg-dir php configure parameter is also
correct.
p.s. Also i installed php 5.01 today and everything there were all
right.
Actual result:
--------------
ext/gd/libgd/gd_jpeg.lo(.text+0x33): In function `fatal_jpeg_error':
/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:61: undefined reference to
`jpeg_destroy'
ext/gd/libgd/gd_jpeg.lo(.text+0x15f): In function `gdImageJpegCtx':
/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:117: undefined reference to
`jpeg_std_error'
ext/gd/libgd/gd_jpeg.lo(.text+0x1c8):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:129:
undefined reference to `jpeg_CreateCompress'
ext/gd/libgd/gd_jpeg.lo(.text+0x1f9):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:135:
undefined reference to `jpeg_set_defaults'
ext/gd/libgd/gd_jpeg.lo(.text+0x210):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:137:
undefined reference to `jpeg_set_quality'
ext/gd/libgd/gd_jpeg.lo(.text+0x286):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:151:
undefined reference to `jpeg_start_compress'
ext/gd/libgd/gd_jpeg.lo(.text+0x311):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:158:
undefined reference to `jpeg_write_marker'
ext/gd/libgd/gd_jpeg.lo(.text+0x3aa):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:175:
undefined reference to `jpeg_write_scanlines'
ext/gd/libgd/gd_jpeg.lo(.text+0x3ec):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:209:
undefined reference to `jpeg_finish_compress'
ext/gd/libgd/gd_jpeg.lo(.text+0x3f4):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:210:
undefined reference to `jpeg_destroy_compress'
ext/gd/libgd/gd_jpeg.lo(.text+0x494):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:202:
undefined reference to `jpeg_write_scanlines'
ext/gd/libgd/gd_jpeg.lo(.text+0x4ec):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:142:
undefined reference to `jpeg_simple_progression'
ext/gd/libgd/gd_jpeg.lo(.text+0x5e3): In function
`gdImageCreateFromJpegCtx':
/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:260: undefined reference to
`jpeg_std_error'
ext/gd/libgd/gd_jpeg.lo(.text+0x62a):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:275:
undefined reference to `jpeg_CreateDecompress'
ext/gd/libgd/gd_jpeg.lo(.text+0x649):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:280:
undefined reference to `jpeg_save_markers'
ext/gd/libgd/gd_jpeg.lo(.text+0x653):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:282:
undefined reference to `jpeg_read_header'
ext/gd/libgd/gd_jpeg.lo(.text+0x6db):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:310:
undefined reference to `jpeg_start_decompress'
ext/gd/libgd/gd_jpeg.lo(.text+0x7ee):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:390:
undefined reference to `jpeg_finish_decompress'
ext/gd/libgd/gd_jpeg.lo(.text+0x822):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:405:
undefined reference to `jpeg_destroy_decompress'
ext/gd/libgd/gd_jpeg.lo(.text+0x874):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:399:
undefined reference to `jpeg_destroy_decompress'
ext/gd/libgd/gd_jpeg.lo(.text+0x8bd):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:379:
undefined reference to `jpeg_read_scanlines'
ext/gd/libgd/gd_jpeg.lo(.text+0x98e):/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:366:
undefined reference to `jpeg_read_scanlines'
ext/gd/libgd/gd_jpeg.lo(.text+0xd2c): In function `jpeg_gdIOCtx_src':
/usr/src/php-4.3.8/ext/gd/libgd/gd_jpeg.c:644: undefined reference to
`jpeg_resync_to_restart'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30183&edit=1