I've installed the most recent C libraries via Couchbase repo: [email protected]:~# dpkg -l | grep couchbase ii libcouchbase-dev:amd64 2.5.1-1 amd64 library for the Couchbase protocol, development files ii libcouchbase2-bin 2.5.1-1 amd64 library for the Couchbase protocol ii libcouchbase2-core:amd64 2.5.1-1 amd64 library for the Couchbase protocol, core files ii libcouchbase2-libev:amd64 2.5.1-1 amd64 library for the Couchbase protocol (libev backend) ii libcouchbase2-libevent:amd64 2.5.1-1 amd64 library for the Couchbase protocol (libevent backend)
Only find 1 library: [email protected]:~# find / -name couchbase.h 2>/dev/null /usr/include/libcouchbase/couchbase.h gem install seems to fail to find the libcouchbase libraries: [email protected]:~# /opt/td-agent/embedded/bin/gem install couchbase -v 1.3.13 Building native extensions. This could take a while... ERROR: Error installing couchbase: ERROR: Failed to build gem native extension. /opt/td-agent/embedded/bin/ruby extconf.rb checking for lcb_iops_wire_bsd_impl2(NULL, 0) in -lcouchbase... no ********************************************************************** * You must install libcouchbase >= 2.4.0 * See http://www.couchbase.com/communities/c/ for more details ********************************************************************** *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/td-agent/embedded/bin/ruby --with-libcouchbase-dir --without-libcouchbase-dir --with-libcouchbase-include --without-libcouchbase-include=${libcouchbase-dir}/include --with-libcouchbase-lib --without-libcouchbase-lib=${libcouchbase-dir}/lib --with-couchbaselib --without-couchbaselib extconf failed, exit code 1 Gem files will remain installed in /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/couchbase-1.3.13 for inspection. Results logged to /opt/td-agent/embedded/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0/couchbase-1.3.13/gem_make.out mkmf.log: http://pastebin.com/PuNJVpdY -- 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.
