You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to get this error when I try to install the gem:
Does it have to do with my ruby version?
ERROR: Error installing speech2text:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.5.0/gems/curb-0.9.10/ext
/usr/bin/ruby2.5 -r ./siteconf20190612-7818-160o3dn.rb extconf.rb
checking for curl-config... no
checking for -lcurl... 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/bin/$(RUBY_BASE_NAME)2.5
--with-curl-dir
--without-curl-dir
--with-curl-include
--without-curl-include=${curl-dir}/include
--with-curl-lib
--without-curl-lib=${curl-dir}/lib
--with-curllib
--without-curllib
extconf.rb:18:in `<main>': Can't find libcurl or curl/curl.h (RuntimeError)
Try passing --with-curl-dir or --with-curl-lib and --with-curl-include
options to extconf.
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/curb-0.9.10/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.5.0/gems/curb-0.9.10 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/curb-0.9.10/gem_make.out
The text was updated successfully, but these errors were encountered:
I had the same problem.
So I checked the mkmf.log file which said that -lcurl was not found.
After looking a bit online, I found that I had to install a library called "libcurl3-dev".
Even my linux decides to install libcurl4-openssl-dev instead of this one it didn't prevent me from successfully install the gem on my machine.
I seem to get this error when I try to install the gem:
Does it have to do with my ruby version?
The text was updated successfully, but these errors were encountered: