From:             info at lab37 dot com
Operating system: Linux Slackware
PHP version:      4.3.8
PHP Bug Type:     GD related
Bug description:  Error building php with jpeg support

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 bug report at http://bugs.php.net/?id=30183&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30183&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30183&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30183&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30183&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30183&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30183&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30183&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30183&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30183&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30183&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30183&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30183&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30183&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30183&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30183&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30183&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30183&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30183&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30183&r=mysqlcfg

Reply via email to