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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 23:01:29 2024 UTC