php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #11738 Unresolved symbols in Apche DSO
Submitted: 2001-06-27 10:23 UTC Modified: 2001-12-30 11:28 UTC
From: nathan at dstatement dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6 OS: MacOSX 10.0.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nathan at dstatement dot com
New email:
PHP Version: OS:

 

 [2001-06-27 10:23 UTC] nathan at dstatement dot com
Fresh compile on OSX 10.0.4:
./configure --with-apxs --with-mysql=/usr/local

After a successful compile and install, checking apache 
yeilds:
[puma:nathan/src/php-4.0.6] root# apachectl configtest
dyld: /usr/sbin/httpd Undefined symbols:
_compress
_uncompress
[puma:nathan/src/php-4.0.6] root# 

Output compression is off

Apache is:
[puma:nathan/src/php-4.0.6] root# httpd -V
Server version: Apache/1.3.14 (Darwin)
Server built:   02/16/01 19:31:58
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D EAPI
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FLOCK_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 -D DEFAULT_XFERLOG="/var/log/httpd/access_log"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 -D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
 -D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
 -D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
 -D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-27 10:56 UTC] nathan at dstatement dot com
Issue resolved by adding --with-zlib=/usr to configure and 
recompiling.  

Note that INSTALL mentions nothing of zlib, please update 
docs to point out the MacOSX requires zlib or remove zlib 
dependency from build if --with-zilb isn't specified


 [2001-06-27 13:23 UTC] sniper@php.net
This is not PHP problem. Problem is that the external
client libs are linked with zlib. And if PHP isn't linked
with zlib you get the unresolved symbols.

 [2001-06-28 10:35 UTC] nathan at dstatement dot com
Re-opened and changed bug classification to "Documentation  
Problem" as pre request of derick@php.net.  Please add an 
entry this to the FAQ or INSTALL


On Thu, 28 Jun 2001 derick@php.net wrote:
[snip]
It has actually nothing to do with PHP, but with the MySQL 
client libraries. Some need --with-zlib, others do not. 
This is covered in the MySQL FAQ, 25.4.2 IIRC. But it 
should be added to the INSTALL or FAQ.
[snip]
 [2001-12-30 11:28 UTC] mrobinso@php.net
Fixed in CVS.
Item added to the FAQ.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 15:01:31 2025 UTC