Reputation: 11
osx big sur (11.2.3)
subversion 1.14.1 (via home brew) - /usr/local/bin/svn
sqlite 3.35.3 (via home brew dependency of subversion) - /usr/local/opt/sqlite/bin/sqlite3
sqlite 3.32.3 (via mac osx) - /usr/bin/sqlite3
if i invoke svn checkout from the command line it works great.
from within eclipse, svn checkout fails:
svn: Couldn't perform atomic initialization
SQLite error
svn: SQLite compiled for 3.34.0, but running with 3.32.3
there are dire warnings about not screwing around with the osx installed sqlite version. how do i get eclipse to use the right sqlite version?
like, setting LD_LIBRARY_PATH somehow?
Upvotes: 1
Views: 536
Reputation: 2063
I had the same problem, however not with Eclipse but rather with PySVN. For the reference, I had a subversion installation with Homebrew producing the exact same versions mentioned in your question.
What I did was to install subversion from source. That is:
brew uninstall subversion sqlite3
-> this ensure the sqlite3 used is not that of homebrewscons
(https://scons.org) needed for Apache Serf (not to be confused with serf
available in homebrew. Note, it builds only with Python2.../scons-local-2.3.0/scons.py APR=/opt/homebrew/opt/apr APU=/opt/homebrew/opt/apr-util OPENSSL=/opt/homebrew/Cellar/[email protected]/1.1.1k/
, ../scons-local-2.3.0/scons.py install
-> will install in /usr/local
by defaultcd subversion-1.14.1
then ./configure --with-apr=/opt/homebrew/opt/apr --with-apr-util=/opt/homebrew/opt/apr-util --with-utf8proc=internal --with-serf=/usr/local
make
then make install
Upvotes: 0