ID: 8004 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Closed Bug Type: Compile Failure PHP Version: 4.0.3pl1 Assigned To: Comments: Fixed. Previous Comments: --------------------------------------------------------------------------- [2000-11-29 04:48:25] [EMAIL PROTECTED] Duplicate of #7872 --------------------------------------------------------------------------- [2000-11-29 04:42:03] [EMAIL PROTECTED] reclassified --------------------------------------------------------------------------- [2000-11-28 02:49:43] [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://green-ant.com/ --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8004&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]