儘管使用本論壇中陳述的所有方法,但出現以下錯誤。我正在mageia 2 Linux的捆綁安裝錯誤與Linux mageia 2
Installing sqlite3 (1.3.6) with native extensions /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:533:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/bin/ruby extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... no
sqlite3 is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** 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.
感謝。有效。但對於我使用的mageia(urpmi sqlite-devel而不是yum install)確定,這將用於具有類似分佈的其他人。 –
很高興爲你工作。請將答案標記爲已接受。 – nathan