The error indicates that it couldn’t find the libcouchbase library.

I recommend you first try to download the binary package for Debian — either 
your package manager, or manually. Please see here for more details 
http://docs.couchbase.com/developer/c-2.4/download-install.html 
<http://docs.couchbase.com/developer/c-2.4/download-install.html>

It seems your php extension is trying to link against libcouchbase.so.1 — which 
seems a bit odd considering that the soversion of the library is 2 
(libcouchbase.so.2). Maybe you have a leftover from a previous install?

> On Apr 17, 2015, at 12:15 PM, André Jacques <[email protected]> wrote:
> 
> Hi,
> 
>  My setup : Debian 7.7 (Linux herpderp.ca 3.2.0-4-amd64 #1 SMP Debian 
> 3.2.54-2 x86_64 GNU/Linux), PHP 5.4.36
> 
>  I tried to install the PHP SKD in my Debian VM, install libevent-dev, 
> compile libcouchbase and php-couchbase too. When I try to instantiate a 
> Couchbase class, PHP tells me it doesn't exists. Couchbase module is nowhere 
> to be found in php -m and php -v return this error, twice :
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php5/20100525/couchbase.so' - libcouchbase.so.1: cannot open shared 
> object file: No such file or directory in Unknown on line 0
> 
>  I moved my couchbase.so file in /usr/lib/php5/20100525/ and set mode without 
> x (like all the other so file in this folder). Any idea?
> 
> A. Jacques
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Couchbase" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to