[prev in list] [next in list] [prev in thread] [next in thread] 

List:       phpdoc
Subject:    [PHP-DOC] Bug #11738 Updated: Unresolved symbols in Apche DSO
From:       mrobinso () php ! net
Date:       2001-12-30 16:28:35
[Download RAW message or body]

ID: 11738
Updated by: mrobinso
Reported By: nathan@dstatement.com
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: MacOSX 10.0.4
PHP Version: 4.0.6
New Comment:

Fixed in CVS.
Item added to the FAQ.

Previous Comments:
------------------------------------------------------------------------

[2001-06-28 10:35:43] nathan@dstatement.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-06-27 13:23:56] 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-27 10:56:18] nathan@dstatement.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 10:23:27] nathan@dstatement.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"


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=11738&edit=1

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic