Code:
# ldd ./passwd.cgi
linux-gate.so.1 =>  (0xb7f4b000)
libdb-4.0.so => /usr/lib/libdb-4.0.so (0xb7e1d000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7deb000)
libmysqlclient.so.10 => not found
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c9b000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7c83000)
/lib/ld-linux.so.2 (0xb7f4c000)

So by my reading libmysqlclient.so.10 is the only thing I need to find?

apt-get reports:
Code:
Package libmysqlclient10-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

I'm sure it has been "obsoleted" (is that really proper usage?) but I'm not sure it's available from another source. I can find RPMs that include it, and Dapper Drake (Ubuntu 6.0.2) has a package for it. Any chance I can just copy these .so files from the old server? Do they themselves have dependencies?