I'm trying to compile PHP in Mac OS 10.3 with Apache 2.0. I get these errors consistently when building:

ld: warning multiple definitions of symbol _pcre_free
ext/pcre/pcrelib/pcre.o definition of _pcre_free in section (__DATA,__data)
/opt/apache2/bin/httpd definition of _pcre_free
ld: warning multiple definitions of symbol _pcre_fullinfo
ext/pcre/pcrelib/pcre.o definition of _pcre_fullinfo in section (__TEXT,__text)
/opt/apache2/bin/httpd definition of _pcre_fullinfo
ld: warning multiple definitions of symbol _pcre_malloc
ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in section (__DATA,__data)
/opt/apache2/bin/httpd definition of _pcre_malloc
ld: warning multiple definitions of symbol _regcomp
/opt/apache2/bin/httpd definition of _regcomp
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
/opt/apache2/bin/httpd definition of _regexec
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
/opt/apache2/bin/httpd definition of _regfree
/usr/lib/libm.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_php_check_open_basedir_ex
make: *** [libs/libphp4.bundle] Error 1


Any ideas?
Thanks!

Sam

Reply via email to