Hey everybody, At bug http://bugs.php.net/26321 - there is a bug for building PHP5 on Mac OS X Panther with Apache 2 that denotes that the problem - a multiple symbol definition problem during make - is a bug in Apache.
I'm trying to build PHP 4.3.4 in Mac OS X Panther (10.3.2) on two different hosts, and I run into almost the same problem: ld: warning multiple definitions of symbol _pcre_free ext/pcre/pcrelib/pcre.o definition of _pcre_free in section (__DATA,__data) /usr/local/apache2/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) /usr/local/apache2/bin/httpd definition of _pcre_malloc ld: warning multiple definitions of symbol _regcomp /usr/local/apache2/bin/httpd definition of _regcomp /usr/lib/libm.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec /usr/local/apache2/bin/httpd definition of _regexec /usr/lib/libm.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree /usr/local/apache2/bin/httpd definition of _regfree /usr/lib/libm.dylib(regfree.So) definition of _regfree ld: Undefined symbols: std::terminate() vtable for __cxxabiv1::__class_type_info vtable for __cxxabiv1::__si_class_type_info vtable for __cxxabiv1::__vmi_class_type_info operator delete[](void*) operator delete(void*) operator new[](unsigned long) operator new(unsigned long) ___cxa_pure_virtual ___gxx_personality_v0 make: *** [libs/libphp4.bundle] Error 1 thrakazog.hyvig.com:/usr/local/src/php-4.3.4 billy$ cd ../ I built Apache 2 from source, and I don't see anything in it's configure --help that would prevent this situation. Has anybody else worked around this? I figured I'd ask here before I go bugging the Apache people, but there are at least two bugs in bugs.php.net that have this problem for macosx, and both were closed as Bogus because it's a problem with Apache. So far I've no problems at all with my Apache build, and I've been checking the logs to see if there have been any crashes or fishy behavior, nothing yet! Thanks, CM __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html