twoeyedhuman wrote:
> I have the latest version of sqlite3 on my debian box and I'd like to
> uninstall it because I keep getting this error through bash:
> 
> sqlite3: error while loading shared libraries: libsqlite3.so.0: cannot open
> shared obje ct file: No such file or directory
> 
> I'm actually running xandros linux and I just want to find where all the
> files were installed so I can delete them manually and install sqlite through
> a debian package.  Is this possible?

First, find out where your system has installed these libraries.  By
default libsqlite3.so installs in /usr/local/lib, but Linux
distributions don't like to put much of anything there.  sqlite3 itself
installs to /usr/local/bin by default, but again don't assume that's
where it's gotten to.  The last file you'll need to delete will be
sqlite3.h, which by default goes to /usr/local/include.

A typical Linux distribution trick is to move these from /usr/local to
/usr.  Also be aware that if you didn't install the development package,
you might not have sqlite3.h, but hunt it out and be sure.  If it's
installed in /usr/include and you don't delete it, you're going to be in
for a rough ride when you try to built SQLite based software.

Clay Dowling

Reply via email to