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.