From: revan02 at googlemail dot com Operating system: Mac OS X 10.4.7 PHP version: 5.1.6 PHP Bug Type: Compile Failure Bug description: ld: warning multiple definitions of symbol
Description: ------------ Wenn compiling PHP on Mac OS 10.4.7 I got an ld error. Reproduce code: --------------- ./configure \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --sysconfdir=/etc \ --with-config-file-path=/etc \ --with-apxs2=/usr/local/httpd/bin/apxs \ --with-mysql=/usr/local/mysql \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-zlib-dir=/usr \ --enable-track-vars=yes \ --enable-sysvshm=yes \ --enable-sysvsem=yes \ --enable-ftp \ --enable-calendar \ --with-gd \ --with-openssl \ --with-pear make Expected result: ---------------- Make should succeed without any failures, Actual result: -------------- /usr/bin/ld: warning multiple definitions of symbol _TLSv1_client_method /usr/local/mysql/lib/libmysqlclient.a(ssl.o) definition of _TLSv1_client_method in section (__TEXT,__text) /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libssl.dylib (t1_clnt.o) definition of _TLSv1_client_method /usr/bin/ld: multiple definitions of symbol _CRYPTO_add_lock /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../ libcrypto.dylib(cryptlib.o) definition of _CRYPTO_add_lock /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-misc.o) definition of _CRYPTO_add_lock in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol _CRYPTO_lock /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../ libcrypto.dylib(cryptlib.o) definition of _CRYPTO_lock /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-misc.o) definition of _CRYPTO_lock in section (__TEXT,__text) collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 -- Edit bug report at http://bugs.php.net/?id=38713&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38713&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38713&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38713&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38713&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38713&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38713&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38713&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38713&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38713&r=support Expected behavior: http://bugs.php.net/fix.php?id=38713&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38713&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38713&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38713&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38713&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38713&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38713&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38713&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38713&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38713&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38713&r=mysqlcfg