I seem to have some problem in my
gearmand. Every time I install any package with
sudo apt-get install <package-name>. I have reported bug on
launchpad (see bug). When I was installing
php5-mysql package I got this error -
magic@magic-desktop:/usr/share/nginx/www$ sudo apt-get install php5-mysql Reading package lists... Done Building dependency tree Reading state information... Done php5-mysql is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up gearman-job-server (0.14-0ubuntu1) ... * Starting Gearman Server gearmand /usr/sbin/gearmand: error while loading shared libraries: libgearman.so.4: cannot open shared object file: No such file or directory [fail] * Please take a look at the syslog invoke-rc.d: initscript gearman-job-server, action "start" failed. dpkg: error processing gearman-job-server (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: gearman-job-server E: Sub-process /usr/bin/dpkg returned an error code (1)
Note that the issue is not related to the already installed package
php5-mysql. I don't have any problems in running the gearmand server. In fact I am able to use the gearman clients and workers.