I recently upgraded to an amd64 version of Wheezy, and I have a couple of compiled proprietary programs that need to keep running 32-bit.
No problem, I installed the i386 compatibility libraries
dpkg --add-architecture i386
apt-get update
apt-get install ia32-libs
Unfortunately, the version of one of the libraries installed is wrong, generating an error:
error while loading shared libraries: libdb-4.6.so: cannot open shared object file: No such file or directory
It looks like I've got:
-rw-r--r-- 1 root 1641048 Jun 28 2012 i386-linux-gnu/libdb-5.1.so
Where my program expects:
-rw-r--r-- 1 root 1638052 Sep 13 2008 libdb-4.6.a
-rw-r--r-- 1 root 800 Sep 13 2008 libdb-4.6.la
-rw-r--r-- 1 root 1256548 Sep 13 2008 libdb-4.6.so
What's the best way to backtrack the libraries to resolve this error?