Perl client not working with Couchbase 2.0
Cannot get the perl client library to work with Couchbase 2.0 on Centos 6.3. It fails instantly when loading, with this error:
> perl -e 'use Couchbase::Client'
Can't load '/usr/local/lib64/perl5/auto/Couchbase/Client/Client.so' for module Couchbase::Client: libcouchbase.so.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
at /usr/share/perl5/Carp.pm line 7
BEGIN failed--compilation aborted at /usr/local/share/perl5/Couchbase/Client.pm line 7.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
This is with perl 5.10 on Centos 6.3 x64.
Installed the Couchbase::Client and all its prerequisites with:
perl -MCPAN -e 'install "Couchbase::Client"'
As for Couchbase server itself and the libcouchbase files, all were installed using "yum" from the Couchbase repo. Packages installed are latest of: couchbase-server, libcouchbase-devel, libcouchbase2, libcouchbase2-core, libcouchbase2-libevent. I checked that libcouchbase.so is installed in /usr/lib64 by libcouchbase-devel-2.0.1-1.
I have no idea what the problem is, or what to do next. The ruby client for Couchbase works on the same system.