Install SQLite 3.6 on Windows 7

How to install SQLite 3.6 on Windows 7?

I extracted sqlite3.exe, sqlite3.dll and sqlite3.def in C: \ Windows \ System32, but when I try to run a Ruby program that requires using sqlite3, I get this error:

The program cannot start because sqlite3.dll is missing on your computer. Try reinstalling the program to fix this problem.

+14
windows-7 sqlite
Nov 14 '09 at 15:52
source share
4 answers

I would try adding the path to SQLite in PATH.

Optional: SQLite 3 is not installed. This is a DLL, usually unregistered. Most programs using SQLite 3 will rely on a local copy or one link to the environment variable.

+25
Nov 14 '09 at 16:08
source share

Just tried this on Windows 7 Ultimate 64 bit. I didn’t like it when I put it in the ruby ​​/ bin folder. I didn’t like \ Winodws \ System32 either ... put it in \ Windows \ system and it started ... go to the figure ... anyway fyi for 64-bit.

+13
Jun 30 '10 at 20:20
source share

Windows 7 is 64 bit here, and also, putting them in \ Windows \ system, did it for me.

I actually installed this for HDBC and Haskell according to the instructions http://wiki.github.com/jgoerzen/hdbc/frequentlyaskedquestions

The only difference for the 64-bit version of Windows 7 is in the instruction below -

"Put" sqlite3.dll "from sqlitedll-3 * .zip in ghc -print-libdir and in% windir% \ system32."

The file should be copied to \ Windows \ system instead of the% windir% \ system32 folder.

+2
Sep 03 '10 at 18:18
source share

I had this problem when trying to run Rake (bundle exec rake db: migrate).

I tried installing PATH and copying the SqlLite binaries to C: \ Windows \ System32, but to no avail.

Finally, resolving it by copying the binaries to my Ruby bin directory (C: \ Ruby192 \ bin), based on the recommendations of this post: http://www.ruby-forum.com/topic/216270#977959 .

0
Jul 13 2018-11-11T00:
source share



All Articles