php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34770 symbol `hash' create is multiply defined
Submitted: 2005-10-07 03:20 UTC Modified: 2005-10-07 21:59 UTC
From: pavel dot stratil-jun at fenix dot cz Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.0RC1 OS: Solaris 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pavel dot stratil-jun at fenix dot cz
New email:
PHP Version: OS:

 

 [2005-10-07 03:20 UTC] pavel dot stratil-jun at fenix dot cz
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;)
ld: fatal: File processing errors. No output written to .libs/libphp5.so
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-07 09:23 UTC] sniper@php.net
Does it work with mysql 4.1.x ??

 [2005-10-07 17:02 UTC] pavel dot stratil-jun at fenix dot cz
I dropped back to the current mysql 4.1.14. Also tried with c-client-2004g. Same error:

-lsocket -lnsl -lm -lcrypt  -o libphp5.la
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);
ld: fatal: File processing errors. No output written to .libs/libphp5.so
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
 [2005-10-07 21:59 UTC] sniper@php.net
Please report this to Mysql and c-client (uw-imap) authors.
There's nothing we can do about symbol clashes.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 19:00:02 2025 UTC