当前位置:   article > 正文

Installing sqlite3 with native extensions ERROR: Failed to build gem native ext

error installing sqlite3: error: failed to build gem native extension
Installing sqlite3 (1.3.4) with native extensions /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/installer.rb:529:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)        /opt/ruby-enterprise-1.8.7-2011.03/bin/ruby extconf.rb checking for sqlite3.h... nosqlite3.h is missing. Try 'port install sqlite3 +universal'or 'yum install sqlite3-devel' and check your shared library search path (thelocation where your sqlite3 shared library is located).*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack ofnecessary libraries and/or headers.  Check the mkmf.log file for moredetails.  You may need configuration options.


解决方案
apt-get install libsqlite3-dev
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/620402
推荐阅读
相关标签
  

闽ICP备14008679号