I got this error this week and resolved it by adding the sqlite library path to LD_LIBRARY_PATH:
That was the way
[/usr/local/lib]$ ls ... libsqlite3.a libsqlite3.la libsqlite3.so libsqlite3.so.0 libsqlite3.so.0.8.6
And I added it to the profile:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH
This solved the problem for me.
source share