Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Perl client not working with Couchbase 2.0

2 replies [Last post]
  • Login or register to post comments
Wed, 12/26/2012 - 03:30
jon617
Offline
Joined: 02/09/2012
Groups: None

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.

Top
  • Login or register to post comments
Wed, 12/26/2012 - 14:12
mnunberg
Offline
Joined: 04/25/2012
Groups: None

Hi, the perl client is not compatible with libcouchbase 2.0

You should either use the embedded libcouchbase which ships with the perl client, or install libcouchbase 1.x

Top
  • Login or register to post comments
Wed, 12/26/2012 - 14:37
jon617
Offline
Joined: 02/09/2012
Groups: None

mnunberg wrote:
Hi, the perl client is not compatible with libcouchbase 2.0

You should either use the embedded libcouchbase which ships with the perl client, or install libcouchbase 1.x

That worked!

"yum install libcouchbase1" from the Couchbase repo, then perl was happy.

Thank you.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker