#35107 [NEW]: compile failure with PHP 5.1 + MySQL 5

From: Date: Fri, 04 Nov 2005 16:40:03 +0000
Subject: #35107 [NEW]: compile failure with PHP 5.1 + MySQL 5
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87583@lists.php.net to get a copy of this message
From:             alex at whitewhale dot net
Operating system: MacOS X 10.4.3
PHP version:      5.1.0RC4
PHP Bug Type:     Compile Failure
Bug description:  compile failure with PHP 5.1 + MySQL 5

Description:
------------
Not very knowledgeable about compiler issues, but: getting a 
compile failure on MacOS X related to MySQL. PHP 5.1 RC3 
compiled with MySQL 5 successfully, but RC4 and a snapshot 
from this morning both fail using the following configure 
line:

./configure --with-apxs=/usr/sbin/apxs --prefix=/usr --enable-
inline-optimization --with-libxml-dir=/sw --with-mysqli=/usr/
local/mysql/bin/mysql_config --with-gd --with-jpeg-dir=/sw --
with-png-dir=/sw --with-zlib-dir=/usr --with-pdo-mysql --with-
xmlrpc --with-mm=/usr/local --disable-debug --with-ldap --
enable-soap

Reproduce code:
---------------
make

Expected result:
----------------
a successful compile

Actual result:
--------------
/usr/bin/ld: warning multiple definitions of symbol _regcomp
/usr/sbin/httpd definition of _regcomp
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib
(regcomp.So) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
/usr/sbin/httpd definition of _regexec
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib
(regexec.So) definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
/usr/sbin/httpd definition of _regfree
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib
(regfree.So) definition of _regfree
/usr/bin/ld: Undefined symbols:
_mysql_get_character_set_info
_mysql_set_character_set
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=35107&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35107&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35107&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35107&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35107&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35107&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35107&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35107&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35107&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35107&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35107&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=35107&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=35107&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35107&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35107&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35107&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35107&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35107&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35107&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35107&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35107&r=mysqlcfg


Thread (13 messages)

« previous php.bugs (#87583) next »