Originally Posted By: matthew_k
Quote:

$ readelf -a passwd.cgi | grep interpreter
[Requesting program interpreter: /lib/ld-linux.so.2]

For libdb-4.0.so, I tried making a link to libdb-4.so, which at least let it move past the error, however, it got just as stuck on the next library.
Quote:
./passwd.cgi: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory

So carry on. Install the 32-bit libmysqlclient.so.10 package. To avoid getting these errors one-by-one, you can use
Code:
ldd ./passwd.cgi

to see a list all the dynamic libraries it's looking for. If it's looking for some in the wrong place (e.g. if libmysqlclient.so.10 is already installed but somewhere weird), then use
Code:
LD_LIBRARY_PATH=/dir/where/lib/is ldd ./passwd.cgi


Peter