(For svn) I need a threadsafe version of the SQLite3 shared library. The one contained in the libsqlite3-0 package isn't thread-safe obviously. So I got a threadsafe build from the sqlite homepage and placed it in /usr/local/lib/.
But when I adjust the corresponding symlink (/usr/local/lib/libsqlite3.so.0), this gets undone nearly every time I run apt-get upgrade.
What would be the proper solution?