Created
March 28, 2019 08:45
-
-
Save marzdgzmn/ad13635d35fcbe033ca353fe17a07ba0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /usr/local/bundle/gems/openssl-2.1.2/ext/openssl | |
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.4.0 -r ./siteconf20190328-8-1cl37f1.rb extconf.rb | |
checking for t_open() in -lnsl... no | |
checking for socket() in -lsocket... no | |
checking for openssl/ssl.h... no | |
*** 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 | |
--without-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=/usr/local/bin/$(RUBY_BASE_NAME) | |
--with-openssl-dir | |
--without-openssl-dir | |
--with-openssl-include | |
--without-openssl-include=${openssl-dir}/include | |
--with-openssl-lib | |
--without-openssl-lib=${openssl-dir}/lib | |
--with-kerberos-dir | |
--without-kerberos-dir | |
--with-kerberos-include | |
--without-kerberos-include=${kerberos-dir}/include | |
--with-kerberos-lib | |
--without-kerberos-lib=${kerberos-dir}/lib | |
--with-debug | |
--without-debug | |
--enable-debug | |
--disable-debug | |
--with-nsllib | |
--without-nsllib | |
--with-socketlib | |
--without-socketlib | |
--with-openssl-config | |
--without-openssl-config | |
--with-pkg-config | |
--without-pkg-config | |
extconf.rb:97:in `<main>': OpenSSL library could not be found. You might want to use --with-openssl-dir=<dir> option to specify the prefix where OpenSSL is installed. (RuntimeError) | |
To see why this extension failed to compile, please check the mkmf.log which can be found here: | |
/usr/local/bundle/extensions/x86_64-linux/2.4.0/openssl-2.1.2/mkmf.log | |
extconf failed, exit code 1 | |
Gem files will remain installed in /usr/local/bundle/gems/openssl-2.1.2 for inspection. | |
Results logged to /usr/local/bundle/extensions/x86_64-linux/2.4.0/openssl-2.1.2/gem_make.out | |
An error occurred while installing openssl (2.1.2), and Bundler cannot continue. | |
Make sure that `gem install openssl -v '2.1.2' --source 'https://rubygems.org/'` succeeds before bundling. | |
In Gemfile: | |
openssl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment