php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16011 --with-bcmath link error
Submitted: 2002-03-11 22:24 UTC Modified: 2002-08-08 01:00 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (25.0%)
From: afaby at tenon dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.0CVS-2002-03-11 OS: Mac OS X 10.1.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-03-11 22:24 UTC] afaby at tenon dot com
Configure Line:

./configure --with-ldap=/usr/local --with-xml --enable-shared --enable-versioning --enable-trans-id --enable-t
rack-vars --enable-ftp --with-mysql --with-pdflib=/usr/local --with-zlib-dir=/usr/local --with-png-dir=/usr/lo
cal --with-jpeg-dir=/usr/local --with-gd=/usr/local --with-tiff-dir=/usr/local --with-apxs=/usr/sbin/apxs --en
able-openbase_module --with-pgsql=/Library/PostgreSQL --with-curl=/usr/local --with-pspell=/usr/local/pspell -
-enable-exif --enable-wddx --enable-mbstring --enable-mbstr-enc-trans --with-iconv=/usr/local/iconv --enable-b
cmath

Yields the following output during the final link phase:

/usr/bin/ld: multiple definitions of symbol __bc_Free_list
ext/bcmath/libbcmath/src/add.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/div.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/init.lo definition of __bc_Free_list in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol __one_
ext/bcmath/bcmath.lo definition of __one_ in section (__DATA,__common)
ext/bcmath/libbcmath/src/init.lo definition of __one_ in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol __two_
ext/bcmath/bcmath.lo definition of __two_ in section (__DATA,__common)
ext/bcmath/libbcmath/src/init.lo definition of __two_ in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol __zero_
ext/bcmath/bcmath.lo definition of __zero_ in section (__DATA,__common)
ext/bcmath/libbcmath/src/init.lo definition of __zero_ in section (__DATA,__common)
ext/bcmath/libbcmath/src/neg.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/outofmem.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/raisemod.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/rt.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/sub.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/compare.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/divmod.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/int2num.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/num2long.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/output.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/recmul.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/sqrt.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/zero.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/debug.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/doaddsub.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/nearzero.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/num2str.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/raise.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/rmzero.lo definition of __bc_Free_list in section (__DATA,__common)
ext/bcmath/libbcmath/src/str2num.lo definition of __bc_Free_list in section (__DATA,__common)
make: *** [libphp4.la] Error 1

This is also the case with 4.1.2 stable.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-11 22:25 UTC] afaby at tenon dot com
wrong configure argument in title :\
 [2002-07-07 21:21 UTC] sniper@php.net
Does this happen with this snapshot:

http://snaps.php.net/php4-latest.tar.gz

 [2002-08-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC