Bug #16011: --with-bcmath link error
| From: | afaby at tenon dot com | Date: | Tue, 12 Mar 2002 03:24:34 +0000 |
| Subject: | Bug #16011: --with-bcmath link error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2275@lists.php.net to get a copy of this message | ||
From: afaby@tenon.com
Operating system: Mac OS X 10.1.3
PHP version: 4.0CVS-2002-03-11
PHP Bug Type: Compile Failure
Bug description: --with-bcmath link error
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.
--
Edit bug report at http://bugs.php.net/?id=16011&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16011&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16011&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16011&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16011&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16011&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16011&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16011&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16011&r=submittedtwice