|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58759 ndefined symbol: READY_TO_DESTROY
Submitted: 2009-07-11 04:03 UTC Modified: 2009-10-01 03:46 UTC
From: wwccss at gmail dot com Assigned: jluedke (profile)
Status: Closed Package: gearman (PECL)
PHP Version: 5.1.6 OS: CentOS
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.
Block user comment
Status: Assign to:
Bug Type:
From: wwccss at gmail dot com
New email:
PHP Version: OS:


 [2009-07-11 04:03 UTC] wwccss at gmail dot com

Thanks for your work of the extension of gearman for php. I tested it on my
centos machine but there are some errors:

*PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/' - /usr/lib64/php/modules/
undefined symbol: READY_TO_DESTROY in Unknown on line 0
*the os info:

*  uname -a
  Linux sno3 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64
x86_64 x86_64 GNU/Linux

   CentOS release 5 (Final)

*and the php verison:*

PHP 5.1.6 (cli) (built: Apr  7 2009 08:00:18)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

What should I do? Thanks a lot.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-29 20:19 UTC] andrewduhan at gmail dot com
I am having the same problem.  Any word?
 [2009-07-29 20:56 UTC] andrewduhan at gmail dot com
I spoke with eday in the irc channel.  Apparently this is an issue with the older (5.1.x) version of php.  They suggested replacing the line:

if (READY_TO_DESTROY(__zval)) { \


if ((__zval)->refcount == 1) { \

in php_gearman.c around line 1000.  Search for READY_TO_DESTROY

This allowed to load correctly for me, but I have not tested it.
 [2009-10-01 03:46 UTC] contact at jamesluedke dot com
fixed in svn.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 14:01:31 2024 UTC