#38713 [Opn->Bgs]: ld: warning multiple definitions of symbol
| From: | tony2001@php.net | Date: | Mon, 04 Sep 2006 16:10:52 +0000 |
| Subject: | #38713 [Opn->Bgs]: ld: warning multiple definitions of symbol | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101716@lists.php.net to get a copy of this message | ||
ID: 38713
Updated by: tony2001@php.net
Reported By: revan02 at googlemail dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Mac OS X 10.4.7
PHP Version: 5.1.6
New Comment:
Not PHP problem.
Previous Comments:
------------------------------------------------------------------------
[2006-09-04 15:44:41] revan02 at googlemail dot com
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 this bug report at http://bugs.php.net/?id=38713&edit=1