rubyInstallationQ&A

openssl.h

  • error description

    $ ruby extconf.rb
    ...
    checking for openssl/ssl.h... no
    ...
  • solution

    [!TIP] Install openssl lib

    $ sudo apt-get intall libssl-dev
    $ dpkg -l | grep openssl
    ii  libcurl3:amd64                      7.35.0-1ubuntu2                            amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
    ii  libcurl4-openssl-dev:amd64          7.35.0-1ubuntu2                            amd64        development files and documentation for libcurl (OpenSSL flavour)
    ii  libgnutls-openssl27:amd64           2.12.23-12ubuntu2.1                        amd64        GNU TLS library - OpenSSL wrapper
    ii  openssl                             1.0.1f-1ubuntu2.4                          amd64        Secure Sockets Layer toolkit - cryptographic utility
    ii  python-openssl                      0.13-2ubuntu6                              amd64        Python 2 wrapper around the OpenSSL library

thread_native.h

  • error description

  • solution

    [!TIP] add top_srcdir=../.. into Makefile (the 63th line as below)

sqlite3.h

  • error description

  • solution

    [!TIP] install libsqlite3-dev in Ubuntu as the error logged

libyaml-0.so.2 & psych.so

  • error description

  • solution

Last updated

Was this helpful?