php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4190 Apache make fails with undefined symbols _png_check_sig _png_create_info_struct
Submitted: 2000-04-19 23:44 UTC Modified: 2000-07-25 00:52 UTC
From: chan at ksu dot edu Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 4 Patch Level 1 OS: MacOSX
Private report: No CVE-ID: None
 [2000-04-19 23:44 UTC] chan at ksu dot edu
Compiling php-4.0b4pl1 with gd-1.7.3 which includes gif and png support.

PHP configure recognizes gd, gif and png support in libgd and makes without errors.

checking whether to include GD support... yes (static)
checking for gdImageString16 in -lgd... yes
checking for compress in -lz... yes
checking for png_info_init in -lpng... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... yes
checking whether to include ttf support... yes
checking whether to enable 4bit antialias hack with FreeType2... no

apache 1.3.12 make bombs:

cc  -DMAC_OS_X_SERVER -I/usr/local/src/php-4.0b4pl1 -I/usr/local/src/php-4.0b4pl1/Zend -I/usr/local/src/php-4.0b4pl1/Zend -I/usr/local/src/php-4.0b4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/extra/libextra.a modules/dav/libdav.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a  lib/expat-lite/libexpat.a  -L/usr/local/lib -L/usr/local/src/imap-4.6/c-client/lib -L/usr/local/mysql/lib/mysql  -L/usr/local/lib -L/usr/local/src/imap-4.6/c-client/lib -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4      -lmysqlclient -lc-client -lttf -lz -lpng -lgd  
/usr/bin/ld: warning -L: directory name (../modules/php4) does not exist
/usr/bin/ld: warning -L: directory name (../../modules/php4) does not exist
/usr/bin/ld: Undefined symbols:
_png_check_sig
_png_create_info_struct
_png_create_read_struct
_png_create_write_struct
_png_destroy_read_struct
_png_destroy_write_struct
_png_get_IHDR
_png_get_PLTE
_png_get_error_ptr
_png_get_io_ptr
_png_get_rowbytes
_png_get_tRNS
_png_get_valid
_png_read_end
_png_read_image
_png_read_info
_png_read_update_info
_png_set_IHDR
_png_set_PLTE
_png_set_dither
_png_set_packing
_png_set_read_fn
_png_set_sig_bytes
_png_set_strip_16
_png_set_strip_alpha
_png_set_tRNS
_png_set_write_fn
_png_write_end
_png_write_image
_png_write_info
make[2]: *** [target_static] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 00:52 UTC] joey@php.net
Try newer version, open a new bug if you still have problems.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 04:01:31 2024 UTC