How about just simply making a symbolic link from /lib/libssl.so.0.9.7a to /lib/libssl.so.0.9.7 and then trying to run? I guess 0.9.7 and 0.9.7a don't differ that much to cause problems. Ugly hack, but should get you one step forward at least.