#36909 [Opn->Fbk]: Compile Fails
| From: | tony2001@php.net | Date: | Wed, 29 Mar 2006 10:45:50 +0000 |
| Subject: | #36909 [Opn->Fbk]: Compile Fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95055@lists.php.net to get a copy of this message | ||
ID: 36909
Updated by: tony2001@php.net
Reported By: alain dot russell at blackpepper dot co dot nz
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Mac OS X
PHP Version: 5.1.3RC1
New Comment:
Do ./cvsclean && ./buildconf and recompile it again.
Previous Comments:
------------------------------------------------------------------------
[2006-03-29 12:43:17] alain dot russell at blackpepper dot co dot nz
Configure as follows:
./configure \
--prefix=/usr/local/php5 \
--enable-sockets \
--enable-mbstring=all \
--enable-mbregex \
--enable-ftp \
--enable-soap \
--disable-cgi \
--with-xml \
--with-libxml-dir=/opt/local \
--with-gd \
--with-jpeg-dir=/opt/local \
--with-png-dir=/opt/local \
--with-freetype-dir=/opt/local \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-pspell=/opt/local \
--with-tidy=/opt/local \
--with-openssl=/usr \
--with-zlib=/usr \
--with-mcrypt=/opt/local \
--with-curl=/opt/local \
--with-mhash=/opt/local \
--with-imap=/users/admin/documents/imap-2004a \
--with-imap-ssl=/users/admin/documents/imap-2004a \
--disable-debug
------------------------------------------------------------------------
[2006-03-29 12:42:05] alain dot russell at blackpepper dot co dot nz
Description:
------------
Compile Fails with php 5.1.3 - works fine v5.1.2
Expected result:
----------------
PHP Compiles
Actual result:
--------------
Error as follows:
ld: warning multiple definitions of symbol _pcre_freeext/
pcre/pcrelib/pcre_globals.o definition of _pcre_free in
section (__DATA,__data)/usr/local/apache2/bin/httpd
definition of _pcre_freeld: warning multiple definitions of
symbol _pcre_mallocext/pcre/pcrelib/pcre_globals.o
definition of _pcre_malloc in section (__DATA,__data)/usr/
local/apache2/bin/httpd definition of _pcre_mallocld:
warning multiple definitions of symbol _regcomp/usr/local/
apache2/bin/httpd definition of _regcomp/usr/lib/
libpthread.dylib(regcomp.So) definition of _regcompld:
warning multiple definitions of symbol _regerror/usr/local/
apache2/bin/httpd definition of _regerror/usr/lib/
libpthread.dylib(regerror.So) definition of _regerrorld:
warning multiple definitions of symbol _regexec/usr/local/
apache2/bin/httpd definition of _regexec/usr/lib/
libpthread.dylib(regexec.So) definition of _regexecld:
warning multiple definitions of symbol _regfree/usr/local/
apache2/bin/httpd definition of _regfree/usr/lib/
libpthread.dylib(regfree.So) definition of _regfreeld:
Undefined symbols:_lchownmake: *** [libs/libphp5.bundle]
Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36909&edit=1