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

problems installing libcouchbase on Fedora 17 x64

4 replies [Last post]
  • Login or register to post comments
Fri, 01/11/2013 - 01:17
spungi
Offline
Joined: 01/11/2013
Groups: None

Hi,
I tried to follow the instructions from
http://www.couchbase.com/develop/c/current
in order to install the libcouchbase on my Fedora 17 x64 machine.

The problem is that libcouchbase2 depends upon libevent-1.4 *specifically* (instead of libevent-1.4 or higher).

I already have libevent-2.0 installed and other package that depend on it, so I can not just remove libevent-2.0 and install libevent-1.4.

Is there a workaround for this issue?

Thanks for the help.

p.s. here are the details:

> sudo yum install -y libcouchbase2 libcouchbase-devel
Error: Package: libcouchbase2-libevent-2.0.2-1.x86_64 (couchbase)
Requires: libevent-1.4.so.2()(64bit)

> sudo yum info libevent
Package libevent-devel-2.0.18-1.fc17.x86_64 already installed and latest version

Top
  • Login or register to post comments
Fri, 01/11/2013 - 02:06
spungi
Offline
Joined: 01/11/2013
Groups: None

Hi,

after some investigation it seems that the dependency is on either libev OR libevent ..

These solved the problem:

> sudo yum install -y libev-devel
> sudo yum install -y libcouchbase2 libcouchbase-devel

Top
  • Login or register to post comments
Fri, 01/11/2013 - 08:47
avsej
avsej's picture
Offline
Joined: 06/15/2011
Groups: None

those rpms we publish, has been built for centos/red hat distributions, this is why you might see those restrictions. as another option, you can download tarballs and rebuild rpms

./configure && make dist-rpm

you of course need rpm devel tools. this task will record actual dependencies. as you can see we aren't claim strict reps

https://github.com/couchbase/libcouchbase/blob/master/packaging/rpm/libc...

__________________

Find me on FreeNode IRC in #libcouchbase channel

Top
  • Login or register to post comments
Fri, 01/11/2013 - 16:57
makeawish
Offline
Joined: 12/03/2012
Groups: None

i have to say , couchbase is a product with some potential but i based on what i have seen as
far as php library support goes the product sucks.

I ran into the same issue with fedora 17 and tried every single option even tried building from
scratch with no luck. Then you if you look at the doc's they are unclear as well. It says PHP 5.3
or higher but thats wrong as well. I got on CentOS 6.2 with PHP 5.3.x the thing working but as soon as
i went to 5.4.x it didnt work anymore and it complained about couchbase.so and jason_decode in line 0.

So you can build great servers but if the libary's to access them don't work the product becomes useless

Top
  • Login or register to post comments
Tue, 01/15/2013 - 07:00
trond
trond's picture
Offline
Joined: 03/15/2010
Groups: None

Part of the problem is being understaffed and trying to support multiple platforms. It seems that most of the linux distros build and ship PHP with different compile time options, resulting in different behavior. Unfortunately we don't have the resources to try out all of the different OS/PHP combinations. We are however constantly trying to improve the quality and increate the test coverage for OS/platform combinations.

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