The same symptoms appear to occur on sparc debian as well.By disabling privilage separation, (in /etc/ssh/sshd_config) it will get further, but then when a user tries to log in, it will stop with the same setresgid function not found error.
thanks Andy Lewis