SQLite Forum

Getting error "sqlite3.h is missing" when trying to install SQLite sqlite3-1.4.2
Login

Getting error "sqlite3.h is missing" when trying to install SQLite sqlite3-1.4.2

(1) By anonymous on 2021-03-16 03:32:52 [source]

Hello, I get the following error when trying to install SQLite3 1.4.2 version from Ruby.

I am a beginner and unable to fix this error. Can someone please help?

current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sqlite3-1.4.2/ext/sqlite3 C:/Ruby27-x64/bin/ruby.exe -I C:/Ruby27-x64/lib/ruby/2.7.0 -r ./siteconf20210316-20604-1ofa8u5.rb extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Install SQLite3 from http://www.sqlite.org/ first. *** extconf.rb failed ***

Gem files will remain installed in C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sqlite3-1.4.2 for inspection. Results logged to C:/Ruby27-x64/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.0/sqlite3-1.4.2/gem_make.out

An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue. Make sure that gem install sqlite3 -v '1.4.2' --source 'https://rubygems.org/' succeeds before bundling.

(2) By anonymous on 2022-09-22 14:59:29 in reply to 1 [link] [source]

Did you get the solution if yes plz let us know too

(3) By Keith Medcalf (kmedcalf) on 2022-09-22 17:11:34 in reply to 1 [link] [source]

There is no such version of SQLite3 as 1.4.2

I would suggest that since you are apparently experiencing a problem with Ruby (whatever that is), that you should contact the Ruby people (they are not here) so they can fix your problem.

This is not a Ruby (whatever that is) support forum. You will not find any help for Ruby (whatever that is) here.

(4) By Keith Medcalf (kmedcalf) on 2022-09-22 17:14:33 in reply to 1 [link] [source]

Did you read the error message and do as it told you to do?

no sqlite3.h is missing. Install SQLite3 from http://www.sqlite.org/ first. *** extconf.rb failed ***

And if you cannot fathom the solution, you should follow up with the person who created this "Ruby" thing you are having the problem with. That person is not here and will not see your issue when you post here.