Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've used apt-get to install Subversion and SQLite on my Ubuntu VPS, however, I'm getting this error when I try to use svn:

svnadmin: SQLite is required to be compiled and run in thread-safe mode

Does anyone know why this might be happening? I originally tried to compile sqlite and subversion from source before switching to the ubuntu packages - could this be the issue perhaps?

share|improve this question
Show us the output of "ldd $(which svnadmin)", please. – Jonathan Matthews Mar 11 '10 at 15:22

I had the same problem. The output of ldd $(which svnadmin) | grep sqlite is => /usr/local/lib/ (0x0062d000).

/usr/local/lib/ is a symlink to and this file was installed via apt-get as part of the "sqlite"-package.

The problem was that, as svn complained, my version of was not thread-safe. So I replaced it with the version from This actually worked.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.