From: pavel dot stratil-jun at fenix dot cz
Operating system: Solaris 9
PHP version: 5.1.0RC1
PHP Bug Type: Compile Failure
Bug description: symbol `hash' create is multiply defined
Description:
------------
With: mysql-5.0.7-beta
c-client-2004e
Configure: './configure' '--prefix=/opt/php'
'--with-apxs2=/opt/apache/bin/apxs' '--with-zlib' '--with-bz2'
'--enable-calendar' '--with-jpeg-dir=/usr/sfw' '--with-gd' '--with-ttf'
'--enable-gd-native-ttf' '--with-db4=/usr/local/BerkeleyDB.4.1'
'--with-imap=/usr/local/imap-client' '--with-imap-ssl=/usr/local/ssl'
'--with-png-dir=/usr/sfw' '--with-gettext' '--with-xml=/usr/local'
'--with-expat-dir=/usr/local/expat' '--with-xsl=/usr/local'
'--enable-bcmath' '--with-curl=/usr/local/curl' '--with-curlwrappers'
'--with-mysqli=/opt/mysql/bin/mysql_config'
'--with-mcrypt=/usr/local/mcrypt' '--with-mhash=/usr/local/mhash'
'--with-libxml-dir=/usr/local' '--enable-embedded-mysqli' '--enable-ipv6'
'--with-iconv' '--enable-ftp' '--enable-mbstring=all' '--enable-exif'
'--enable-pcntl' '--enable-sigchild' '--with-openssl' '--without-mysql'
'--with-xmlrpc'
Fails with:
ld: fatal: symbol `hash' create is multiply defined
(file /usr/local/imap-client/lib/libc-client.a(misc.o) type=FUNC; file
/opt/mysql/lib/mysql/libmysqld.a(libha_hash0hash.o) type=FUNC
make: *** [libphp5.la] Error 1
--
Edit bug report at http://bugs.php.net/?id=34770&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34770&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34770&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34770&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34770&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34770&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34770&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34770&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34770&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34770&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34770&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34770&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34770&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34770&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34770&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34770&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34770&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34770&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34770&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34770&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34770&r=mysqlcfg