Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having problems installing Gearman from Red Hat on Amazon. I couldn't find a repo so I downloaded Gearman version .25, installed it and installed drizzle from their repo using:

yum install libdrizzle-devel
yum install libdrizzle

The command I execute is:

libdrizzle_CFLAGS="-I/usr/local/include" libdrizzle_LIBS="-L/usr/local/lib -ldrizzle" ./configure

I get:

   * Installation prefix:       /usr/local
   * System type:               unknown-linux-gnu
   * Host CPU:                  x86_64
   * C Compiler:                gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
   * Assertions enabled:        yes
   * Debug enabled:             no
   * Warnings as failure:       no
   * Building with libsqlite3   no
   * Building with libdrizzle   yes
   * Building with libmemcached no
   * Building with libpq        no
   * Building with tokyocabinet no

Then I do:

make install

Followed by:

pecl install gearman

However it appears that I cannot use the drizzle library and running gearmand gives me a blank screen.

It's on an nginx server and restarting the php-fpm also gives me errors:

Gracefully shutting down php-fpm . done
Starting php-fpm PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/' - cannot open shared object file: No such file or directory in Unknown on line 0

Am I doing something wrong? Are there other ways of install Gearman?

share|improve this question

migrated from Dec 5 '11 at 13:39

This question came from our site for professional and enthusiast programmers.

After installing your PHP module, you need to add the reference to /etc/php.ini

share|improve this answer

You must log in to answer this question.