What version of openssl do you have installed? What does dpkg say? At first 
glance it would seem that either libcouchase is linked against the wrong 
openssl, or you have a different openssl installation.

I’ve just downloaded the libssl deb for trusty and extracted it. Among one of 
the symbols missing is SSL_get_ssl_method@OPENSSL_1.0.0 (from the error log).

It’s found inside the ssl package I just downloaded:
mnunberg@csure:~/repos/ubuntu/pool/trusty/main/libc/libcouchbase/tmp/lib/x86_64-linux-gnu$
 readelf -a libssl.so.1.0.0 | grep SSL_get_ssl_method
   622: 0000000000038830     5 FUNC    GLOBAL DEFAULT   12 
SSL_get_ssl_method@@OPENSSL_1.0.0

I am seeing you are using a non-system Ruby installation. Perhaps this Ruby 
version has its own openssl which is different than the system’s, and in turn, 
is accidentally being picked up by libcouchbase?

> On Jul 8, 2015, at 1:05 PM, Jesus Orosco <[email protected]> wrote:
> 
> 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] 
> <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