pam-0.77-15 depends explicitly on db4-4.1.25, rather than on individual shared libraries within it, which means that it's incompatible with compat-db-4.1.25.
This has definitely been resolved since this bug. This should be closed as fixed.