|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59944 Undefined symbol: gearman_client_set_server_option
Submitted: 2011-09-08 14:15 UTC Modified: 2011-12-02 16:33 UTC
From: eric at linkup dot com Assigned: hradtke (profile)
Status: Closed Package: gearman (PECL)
PHP Version: 5.3.6 OS: Fedora 14
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: eric at linkup dot com
New email:
PHP Version: OS:


 [2011-09-08 14:15 UTC] eric at linkup dot com
Since upgrading to the SVN version yesterday (because of the fix it provides for #18658), I'm seeing these errors in my logs:
[08-Sep-2011 13:06:50] WARNING: [pool datapath] child 6050 said into stderr: "php-fpm: pool datapath: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ undefined symbol: gearman_client_set_server_option"

I am running PHP 5.3.8 (not available in the drop-down) and it is against gearmand 0.18.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-08 15:34 UTC]
I can try to install gearman 0.18 and see what is up. That function may be in the later versions of libgearman. I am currently running 0.24.
 [2011-09-08 18:22 UTC] eric at linkup dot com
It looks like it came in with change 431, which is roughly 0.21. Is that just a new requirement for gearman? If so, that's fine, but we should add a version check to the config script.
 [2011-09-08 19:25 UTC] at php dot net
I obviously did not do my homework. I will add a check to the script before I make a new version live.
 [2011-11-28 20:20 UTC] matthew dot scott dot day at gmail dot com
i'm running gearmand 0.25

root@matthewbox:/pool/www# gearmand -V -u root

gearmand 0.25 -

and i get this error when trying to run the tests in the pecl gearman extension after compiling:

php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ undefined symbol: gearman_worker_set_server_option

not sure how to fix it. I only see gearman_worker_set_server_option used once in php_gearman.c on line 3619.

any help would be appreciated.

i'm using the current svn checked out version of the gearman pecl extension
 [2011-12-02 01:02 UTC]
Automatic comment from SVN on behalf of hradtke
Log: Fixed PECL Bug #59944 (Undefined symbol: gearman_client_set_server_option)
 [2011-12-02 01:05 UTC]
-Status: Assigned +Status: Feedback
 [2011-12-02 01:05 UTC]
I added check to configure to check for gearman 0.21. Please verify this works.

In response to matthew, the function has been in gearman since 0.21. Please make sure you are not compiling against an older version. Your rpm may have development headers that are old.
 [2011-12-02 16:33 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2011-12-02 16:33 UTC]
-Status: Feedback +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 07:04:39 2022 UTC