PHP 4.0 Bug #8004 Updated: Failure to create a valid PHP module on Mac OS X Public Beta

From: Date: Wed, 29 Nov 2000 09:48:25 +0000
Subject: PHP 4.0 Bug #8004 Updated: Failure to create a valid PHP module on Mac OS X Public Beta
Groups: php.dev 
Request: Send a blank email to php-dev+get-39478@lists.php.net to get a copy of this message
ID: 8004 Updated by: sniper Reported By: markhers@green-ant.com Status: Duplicate Bug Type: Compile Failure Assigned To: Comments: Duplicate of #7872 Previous Comments: --------------------------------------------------------------------------- [2000-11-29 04:42:03] sniper@php.net reclassified --------------------------------------------------------------------------- [2000-11-28 02:49:43] markhers@green-ant.com I am currently in charge of evaluating/deploying Mac OS X as a front-end platform for our new PHP based site. However, as has been the case for a while, I cannot get PHP 4 to compile. I had filed a bug report earlier (http://bugs.php.net/ bugs.php?id=4764) which went unfulfilled, I just found out, because when I got written back, my email address of my previous employer was no longer in my possession. I had read something, somewhere (that somewhere escapes me) that had said that the libtool that is included with PHP 4 does not recognize/properly act on the Mac OS X Server / Mac OS X. Is it possible that this tool is now "broken" on the Mac OS X platform? Reason being I tried yet again to create a DSO for Mac OS X, and had the exact same issue as http://bugs.php.net/bugs.php?id=7872. Now, I figured, hey, maybe if I tried to compile it directly into Apache, and then use "--enable-shared=max" would help some...and I got this when I started the Apache server. I configured the two pieces as follow: PHP: ./configure  --with-apache=../apache-641/apache - -enable-track-vars --enable-inline-optimizations --with- mysql=/usr/local/mysql --without-gd --quiet Apache: ./configure --with-layout=opt-mark --activate- module=src/modules/php4/libphp4.a --enable- module=so --enable-shared=max Once compilation is complete, I try to start the server and receive the following message: [localhost:local/src/apache_1.3.14] root# /opt/apache/ sbin/apachectl start dyld: /opt/apache/sbin/httpd multiple definitions of symbol _ThNormalize /opt/apache/sbin/httpd definition of _ThNormalize /opt/apache/libexec/libphp4.so definition of _ThNormalize /opt/apache/sbin/apachectl start: httpd could not be started Same exact thing happened with the Apache source tree available from Apple at publicsource.apple.com. I noticed the following: [localhost:src/apache-641/apache] root# nm /opt/ apache/sbin/httpd | grep ThNorma 000653b0 T _ThNormalize [localhost:src/apache-641/apache] root# nm /opt/ apache/libexec/libphp4.so  | grep ThNorma 000c0d28 T _ThNormalize -- Now, I will say this now as I need this done sooner than later, and I believe there are many Mac OS X / Darwin users who would love to be running PHP 4 but they can't, but I can arrainge for anyone who needs it, access to a stock Mac OS X Public Beta box with developer tools installed and everything. Thank you for your great product, and I await your speedy attention.   Mark J. Hershenson   markhers@green-ant.com   http://green-ant.com/ --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8004

« previous php.dev (#39478) next »