SVN using wrong sqlite version
Solution 1
I experienced the same issue, I solved downloading http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz, unpacking the archive using tar/gunzip and coping sqlite3.c from the resulting directory into $svn-src-folder/sqlite-amalgamation/sqlite3.c.
Run configure/make/sudo make install and you should solve.
Solution 2
I had brew, svn 1.8, working fine in OSX 10.8.
I upgraded to 10.9, broke. For some reason the symlinks brew makes in /usr/local/bin
were removed by the 10.9 installation?
brew update
didnt fix.
brew install svn
fixed svn, or so I thought.
Then actually using svn 1.8 (/usr/local/bin
first in my path) I also had the above sqlite error message. A newer sqlite being in /usr/local/Cellar
, but not symlinked in /usr/local/bin
or anything.
brew install sqlite3
... didnt fix it. And I noticed brew says for this component it doesnt symlink. ok.
BUT, after that reinstall, a further reinstall of svn brew svn uninstall brew svn install
DID fix it. dont know why. Now can svn co successfully.
Solution 3
After re-linking subversion, I had also to re-link sqlite3
brew link --force sqlite3
m02ph3u5
java, js, html, css, android, php, node, electron, python, keras, tf, ansible, GCP you name it - anything that's not embedded, unless I feel like or I'm told to. Frontend, backend, DB, load & stress, security, ML, Unix, Windows, I like to be the Swiss army knife. Get in contact on LI: https://www.linkedin.com/in/ronald-b-1971751a0/
Updated on August 31, 2022Comments
-
m02ph3u5 over 1 year
when running my svn from /usr/local/bin/ it says:
svn: E200029: Couldn't perform atomic initialization svn: E200030: SQLite compiled for 3.7.13, but running with 3.6.12
sqlite3 --version gives me 3.7.13
What went wrong and how can I fix it? I'm on Mac OS X (10.6.8).
//edit1:
/usr/local/bin/sqlite3 --version 3.7.13
/usr/bin/sqlite3 --version 3.7.13
//edit2: I "fixed" this by installing svn via homebrew and using /usr/local/bin/svn explicitly
Let me sum up the fixes and suggestion from the answers below:
(please upvote the corresponding answer)
For Mac users:
- (re-)install svn via homebrew or whatever you use (you may need to
brew link --force sqlite3
)
For Fedora users:
- try
yum update sqlite3
oryum install sqlite
- (re-)install svn via homebrew or whatever you use (you may need to
-
m02ph3u5 almost 12 yearsSo you mean I should like partially downgrade my sqlite? Link is dead, btw.
-
Diegolo almost 12 yearsno, your sqlite is ok, the problem is you have to compile svn with the correct sqlite.c file .. how-to-linux.com/subversion/… this should solve
-
m02ph3u5 about 10 yearsHad to brew rm and reinstall a lot of brewish installed things after the 10.9.2 patch - weird that brew doctor ain't complaining and that brew link tells me it was linked when it actually wasn't
-
Matej Briškár over 9 yearsI am on fedora and having "No package sqlite3 available."