PHP 4.0 Bug #8343: Undefined symbols: _strtol when PHP4 compiled as DSO --with-mysql
| From: | joeldreed at yahoo dot com | Date: | Wed, 20 Dec 2000 20:16:39 +0000 |
| Subject: | PHP 4.0 Bug #8343: Undefined symbols: _strtol when PHP4 compiled as DSO --with-mysql | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41986@lists.php.net to get a copy of this message | ||
From: joeldreed@yahoo.com
Operating system: MacOS X Server
PHP version: 4.0.4
PHP Bug Type: Dynamic loading
Bug description: Undefined symbols: _strtol when PHP4 compiled as DSO --with-mysql
./configure \
-> --with-apxs=/usr/local/sbin/apxs \
-> --with-mysql=/usr/local/mysql --with-zlib=/usr/local \
-> --enable-track-vars
When compiling PHP 4.0.x as a DSO with external
MySQL support (--with-mysql) option when apache
loads the PHP module it will give:
dyld: /usr/local/sbin/apache Undefined symbols: _strtol
I have been able to reproduce this problem the
versions of MySQL (3.23.28 - 3.23.29a) and the zlib
version in all cases was zlib-1.1.3.
Note:
PHP 4.0.4 works fine w/ the built-in mysql support.
--
Edit Bug report at: http://bugs.php.net/?id=8343&edit=1