Php-ext-couchbase on Ubuntu 12-32bit Failed

Hi People.

I’m trying to install the php-ext-couchbase on Ubuntu 12 so far without success. I’m getting this error from PHP:

php -m | grep couchbase
Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20100525+lfs/’ - cannot open shared object file: No such file or directory in Unknown on line 0

Previously had installed php5-fpm and Nginx and both were working fine and I have other PHP modules running smoothly. Couchbase server is working fine, too.

bellow, I will describe all the steps used trying to install the SDK and dependencies:

First, libcouchbase build from source:
git clone
make distcheck
make install

Confirmed, and all files (including ) are present in:


Then, php-ext-couchbase build from source:
git clone
make install
make test

Confirmed, and is present in /usr/lib/php5/20100525+lfs/ php extension folder.

After that, the configuration file was set.
Contents of couchbase.ini in /etc/php5/conf.d :

Then, restarted Nginx and PHP-fpm:

sudo /etc/init.d/nginx restart
sudo /etc/init.d/php5-fpm restart

I followed all the instructions and after hours remaking the process, no luck…
Originally’m used to working on Windows and only a few months using linux Ubuntu,
but I’ll have to get used since this is my project development platform from now on.

So, I really appreciate any help, looking forward to begin using Couchbase and PHP.
Thanks in advance!

System :
Linux - Linux abs-965P-DS3 3.5.0-30-generic #51-Ubuntu SMP Tue May 14 18:49:52 UTC 2013 i686
PHP_VERSION : 5.4.6-1ubuntu1.3

Show output of

ldd /usr/lib/php5/20100525+lfs/

Output from: ldd /usr/lib/php5/20100525+lfs/ => (0xb76e1000) => not found => /lib/i386-linux-gnu/ (0xb7688000) => /lib/i386-linux-gnu/ (0xb74dd000)
/lib/ (0xb76e2000)

With that information I just copied from /usr/local/lib/
to /lib/i386-linux-gnu/ and now it seems to be loaded and working !

New output from: ldd /usr/lib/php5/20100525+lfs/ => (0xb7788000) => /usr/lib/i386-linux-gnu/ (0xb7712000) => /lib/i386-linux-gnu/ (0xb76f9000) => /lib/i386-linux-gnu/ (0xb754e000) => /lib/i386-linux-gnu/ (0xb7522000) => /lib/i386-linux-gnu/ (0xb751d000)
/lib/ (0xb7789000)

phpinfo( ) is now showing:

COUCHBASE version: 1.1.5 libcouchbase ver: 2.1.1 json support: yes fastlz support: yes zlib support: yes igbinary support: no

couchbase.compression_factor: 1.3
couchbase.compression_threshold: 2000
couchbase.compressor: none
couchbase.config_cache: no value
couchbase.durability_default_poll_interval: 100000
couchbase.durability_default_timeout: 40000000
couchbase.instance.persistent: On On
couchbase.restflush: On On
couchbase.serializer: php php
couchbase.view_timeout: 75 75

Was it a PATH environment variable problem ?
By the way, if you have any additional configuration recommended for extension Couchbase, I would be glad to know. Thanks!