m02ph3u5
m02ph3u5

Reputation: 3161

SVN using wrong SQLite version

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

What went wrong and how can I fix it? I'm on Mac OS X v10.6.8.

/usr/local/bin/sqlite3 --version 3.7.13
/usr/bin/sqlite3 --version 3.7.13

Upvotes: 10

Views: 15454

Answers (9)

sekelsenmat
sekelsenmat

Reputation: 51

I just had success with a simpler version of the solution on Mac OS X:

brew update brew remove svn brew reinstall svn --build-from-source

I didn't want to change the sqlite version because I have other stuff which use it, so I correctly guessed that rebuilding svn from source would make it compatible with the sqlite I already have.

Upvotes: 0

Zekarias Taye Hirpo
Zekarias Taye Hirpo

Reputation: 849

This Github post has helped me to fix my issue. It is basically re-installing svn and SQLite.

brew update
brew remove sqlite svn
brew reinstall sqlite svn 

Upvotes: 0

lukman nakib
lukman nakib

Reputation: 45

try following

brew update
brew remove sqlite svn
brew reinstall sqlite svn --build-from-source

or update your os

Upvotes: 1

Matej Briškár
Matej Briškár

Reputation: 607

For me, yum install sqlite in fedora fixed the problem.

Upvotes: 0

Peter Keller
Peter Keller

Reputation: 7646

After re-linking subversion, I had also to re-link sqlite3

brew link --force sqlite3

Upvotes: 2

TigerFan
TigerFan

Reputation: 1

update sqlite3!!

I had similar issue on Fedora Core 20

Did the following:

yum update sqlite3

Upvotes: 0

user2591799
user2591799

Reputation: 9

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.

Upvotes: 1

peterpengnz
peterpengnz

Reputation: 6072

It means subversion was compiled with SQLite version 3.7.13, but now you are running SQLite 3.6.12.

All you need to do is recompile/reinstall your subversion again.

Upvotes: 0

Diegolo
Diegolo

Reputation: 309

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.

Upvotes: 2

Related Questions