php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8343 Undefined symbols: _strtol when PHP4 compiled as DSO --with-mysql
Submitted: 2000-12-20 15:16 UTC Modified: 2001-10-02 18:04 UTC
From: joeldreed at yahoo dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.4 OS: MacOS X Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: joeldreed at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-12-20 15:16 UTC] joeldreed at yahoo dot com
./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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-20 15:21 UTC] joeldreed at yahoo dot com
When compiling PHP 4.0.x as a DSO with external......

I just wanted to clarify that this is with 4.0.4. I also tried 
with a 12/20/2000 7:45am snapshot, same ./configure 
etc. Same undefined symbol.

Thanks.

 [2001-08-19 03:41 UTC] sniper@php.net
Does this happen with latest CVS snapshot:

http://snaps.php.net/ 


 [2001-10-02 18:04 UTC] sniper@php.net
No feedback, considered fixed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 22:01:27 2025 UTC