I got the following error:
Unable to load dynamic library ‘/usr/lib/php/modules/couchbase.so’ - libcouchbase.so.7: cannot open shared object file: No such file or directory in Unknown on line 0
I followed the instructions as follows:
couchbase.so is in /usr/lib/php/modules/ and in php.ini extension=couchbase.so
json is there and works, we use it in php all the time (built in, so extension=json.so is not needed)
yum install -y libcouchbase-devel --nogpgcheck
yum install -y libvbucket-devel --nogpgcheck
both worked, and libcouchbase.so is there, but not libcouchbase.so.7
I found:
/usr/lib/libcouchbase.so.1
/usr/lib/libcouchbase.so.1.2.2
/usr/lib/libcouchbase_libevent.so.1
/usr/lib/libcouchbase_libevent.so.1.0.0
… all soft links to libcouchbase.so, so I made another soft link to /usr/lib/libcouchbase.so.7 on the off chance that it would help, but no.
Couchbase 2.0 itself is installed and the samples work.