PHP 4.0 Bug #7940: undefined symbol: bc_compare
| From: | astmail at yahoo dot com | Date: | Thu, 23 Nov 2000 11:54:51 +0000 |
| Subject: | PHP 4.0 Bug #7940: undefined symbol: bc_compare | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38989@lists.php.net to get a copy of this message | ||
From: astmail@yahoo.com
Operating system: Linux 2.2
PHP version: 4.0.3pl1
PHP Bug Type: Dynamic loading
Bug description: undefined symbol: bc_compare
/usr/local/apache/bin/httpsd
Syntax error on line 241 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined symbol:
bc_compare
Excerpt from php compile time configuration:
--enable-bcmath=shared
Problem:
in Zend/zend_operators.c, function zendi_smart_strcmp(),
there is an unconditional call to bc_compare when bcmath is built, not taking care of the fact that
if the bcmath extension is built as a dso it may be possibly not loaded.
Please note:
DSOs are very helpful if you do one standard build for a variety of servers and configurations so
doing a non-shared build is not a solution.
--
Edit Bug report at: http://bugs.php.net/?id=7940&edit=1