php.net |  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
 [2011-09-08 14:15 UTC] eric at linkup dot com
Description:
------------
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/gearman.so: 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-08 15:34 UTC] hradtke@php.net
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 - https://launchpad.net/gearmand


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/gearman.so: 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] hradtke@php.net
Automatic comment from SVN on behalf of hradtke
Revision: http://svn.php.net/viewvc/?view=revision&revision=320259
Log: Fixed PECL Bug #59944 (Undefined symbol: gearman_client_set_server_option)
 [2011-12-02 01:05 UTC] hradtke@php.net
-Status: Assigned +Status: Feedback
 [2011-12-02 01:05 UTC] hradtke@php.net
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] hradtke@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2011-12-02 16:33 UTC] hradtke@php.net
-Status: Feedback +Status: Closed
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 01 00:01:22 2020 UTC