php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59155 undefined symbol: READY_TO_DESTROY
Submitted: 2010-04-12 22:13 UTC Modified: 2015-06-05 13:21 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: wdierkes at 5dollarwhitebox dot org Assigned:
Status: Suspended Package: drizzle (PECL)
PHP Version: 5.1.6 OS: CentOS 5.4
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-04-12 22:13 UTC] wdierkes at 5dollarwhitebox dot org
Description:
------------
[root@linuxbox ~]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/drizzle.so' - /usr/lib64/php/modules/drizzle.so: undefined symbol: READY_TO_DESTROY in Unknown on line 0
PHP 5.1.6 (cli) (built: Jan 13 2010 17:09:42) 
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-14 17:56 UTC] nickh at standingcloud dot com
Apparently this is an issue with the older (5.1.x) version 
of 
php.

replace the line: if (READY_TO_DESTROY(__zval)) { \
with: if ((__zval)->refcount == 1) { \

in php_drizzle.c at line 1235.  Search for READY_TO_DESTROY

This allowed drizzle.so to work correctly for me with CentOS 
5.4 and PHP 5.1.6
 [2010-06-22 20:39 UTC] wdierkes at 5dollarwhitebox dot org
Unfortunately this produced the following errors:

/home/wdierkes/packages/drizzle/php-pecl-
drizzle/BUILD/drizzle-0.4.2/php_drizzle.c:3959: error: 'zval' 
has no member named 'refcount'


Is there something else missing?
 [2015-06-05 13:21 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2015-06-05 13:21 UTC] cmb@php.net
The drizzle package is not maintained. Therefore I'm changing the
status of this ticket to "suspended".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 16:01:21 2019 UTC