ID: 26321 Comment by: gmclachl at cis dot strath dot ac dot uk Reported By: grayw at mail dot montclair dot edu Status: Bogus Bug Type: Compile Failure Operating System: Mac OS X 10.3.2 PHP Version: 5CVS-2004-01-2 New Comment:
I have tried the default version of Apache in OSX (10.3.4) and 1.3.31 and each time it returns this error. However other users have managed to compile it successfully with 1.3.31. Previous Comments: ------------------------------------------------------------------------ [2004-01-02 20:37:12] [EMAIL PROTECTED] This is some Apache bug. As you can see, the conflict is between httpd and some system libs. Not PHP. ------------------------------------------------------------------------ [2004-01-02 13:36:00] grayw at mail dot montclair dot edu I tried it one more time with all three previous tests: --without-pcre-regex --without-pear --disable-mbstring which gives a slightly different output during make. so the config now looks like: ./configure --mandir=/usr/share/man --infodir=/usr/ share/info --with-apxs2=/Library/Apache2/bin/apxs -- with-openssl --with-zlib --with-zlib-dir=/usr/lib -- with-bz2 --enable-calendar --with-libxml-dir=/usr/ local --with-gd --with-ldap --disable-mbstring -- with-mcrypt --with-openssl-dir=/usr/include/openssl -- with-mhash --with-mime-magic=/usr/share/file/magic.mime --with-mysql=/Library/MySQL --with-pgsql=/usr/local/ postgres --enable-sockets --with-xsl=/Library/PHP4 -- prefix=/Library/PHP5 --with-png-dir=/usr/local --with- jpeg-dir=/usr/local/ --without-pcre-regex --without-pear and the output error is: ld: warning multiple definitions of symbol _regcomp /Library/Apache2.panther/bin/httpd definition of _regcomp /usr/lib/libm.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec /Library/Apache2.panther/bin/httpd definition of _regexec /usr/lib/libm.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree /Library/Apache2.panther/bin/httpd definition of _regfree /usr/lib/libm.dylib(regfree.So) definition of _regfree ld: Undefined symbols: _PQparameterStatus _PQprotocolVersion _PQtransactionStatus _pg_encoding_to_char _pg_char_to_encoding _pg_encoding_mblen make: *** [libs/libphp5.bundle] Error 1 ------------------------------------------------------------------------ [2004-01-02 13:15:16] grayw at mail dot montclair dot edu I removed my beta 2 sources last week, and so I'm trying this now with beta 3. Also, I have updated my development host to Mac OS X 10.3.2. I don't believe that the beta2 source is still available via www.php.net (can't find it). My results (for what it's worth) are quite similar, tried --disable-mbstring like you asked. If you would like me to keep working with the beta 2 source, I need some access to it. Output where make fails: (for beta 3 and latest beta 3 snapshot): ld: warning multiple definitions of symbol _pcre_free ext/pcre/pcrelib/pcre.o definition of _pcre_free in section (__DATA,__data) /Library/Apache2.panther/bin/httpd definition of _pcre_free ld: warning multiple definitions of symbol _pcre_malloc ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in section (__DATA,__data) /Library/Apache2.panther/bin/httpd definition of _pcre_malloc ld: warning multiple definitions of symbol _regcomp /Library/Apache2.panther/bin/httpd definition of _regcomp /usr/lib/libm.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec /Library/Apache2.panther/bin/httpd definition of _regexec /usr/lib/libm.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree /Library/Apache2.panther/bin/httpd definition of _regfree /usr/lib/libm.dylib(regfree.So) definition of _regfree ld: Undefined symbols: _PQparameterStatus _PQprotocolVersion _PQtransactionStatus _pg_encoding_to_char _pg_char_to_encoding _pg_encoding_mblen make: *** [libs/libphp5.bundle] Error 1 ------------------------------------------------------------------------ [2004-01-02 10:48:01] [EMAIL PROTECTED] Does adding --disable-mbstring into configure line make this work? ------------------------------------------------------------------------ [2003-12-15 10:29:02] grayw at mail dot montclair dot edu I have the time to put more work into this bug, so if there's anything I can do (I understand how busy the bugs people are!), please let me know. I'll give it another whack with the latest CVS snapshot. Bill ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26321 -- Edit this bug report at http://bugs.php.net/?id=26321&edit=1