php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30183 Error building php with jpeg support
Submitted: 2004-09-21 17:45 UTC Modified: 2004-09-29 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: info at lab37 dot com Assigned:
Status: No Feedback Package: GD related
PHP Version: 4.3.8 OS: Linux Slackware 10.0
Private report: No CVE-ID: None
 [2004-09-21 17:45 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-22 00:07 UTC] derick@php.net
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.

 [2004-09-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC