Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLite header and source version mismatch

Tags:

sqlite

macos

Just installed SQlite3 with homebrew, but when I go to run it I get the following:

SQLite header and source version mismatch
2011-06-25 16:35:41 8f8b373eed7052e6e93c1805fc1effcf1db09366
2012-01-16 13:28:40 ebd01a8deffb5024a5d7494eef800d2366d97204

Noticed that people on Linux and Ubuntu have this problem sometimes, but I'm on a Mac (OS X 10.7.5) so the same solves for them didn't work through Terminal.

Assume there must be another version installed somewhere, but not sure how to solve the problem (fairly new, so over explain please).

Any suggestions?

like image 611
Kristen Avatar asked Sep 01 '25 10:09

Kristen


1 Answers

I left an answer in the comments but wanted to officially answer on what worked for me:

  1. I copied the sqlite3 exec file that was in my /usr/bin
  2. I replaced the sqlite3 exec in my /usr/local/bin with the copy I made from my /usr/bin

Now it works fine! (I also saved the old Sqlite3 exec file as .old incase I run into any bugs)

like image 118
Kristen Avatar answered Sep 02 '25 23:09

Kristen