ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  PHP 4.3 and Mac OS X
Subject:   Compile Errors
Date:   2004-02-29 05:08:12
From:   samsprograms
I am having trouble compiling PHP. I am using my own built Apache 2.0 and OS 10.3. When i configured I did use apxs2 instead of apxs. I am getting this error consistently (after building many other files...):


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?