mikep at noc.utoronto.ca
2014-Mar-25 15:17 UTC
openssh-6.6p1 on Solaris 10 - 'make tests' fails, sshd won't start
Openssh-6.6p1 compiled on Solaris 10, but failed the 'make tests' in the 'sftp' testing: failed sftp permissions make[1]: *** [t-exec] Error 1 make[1]: Leaving directory `/opt/local/src/security/openssh-6.6p1/regress' make: *** [tests] Error 2 [There are also a lot of 'Unsupported query "cipher-auth"' messages, which would indicate the tests are using the installed version of 'ssh' (which doesn't have 'ssh -Q cipher-auth') instead of the newly build version (which does have it).] After a 'make install', the new 'sshd' would not start: ld.so.1: sshd: fatal: relocation error: file /opt/local/sbin/sshd: symbol mkdtemp: referenced symbol not found Killed I see that '#define HAVE_MKDTEMP 1' is set in 'config.h', but Solaris does not have that function. I rebuilt with that commented out; 'make tests' still fails, but 'sshd' now starts. Any ideas what is missing in 'configure', or how the 'make tests' didn't catch that 'sshd' won't run? Thanks, Mike -- Mike Peterson Information Security Analyst - Audit E-mail: mikep at noc.utoronto.ca WWW: http://www.noc.utoronto.ca/ Tel: 416-978-5230 Fax: 416-978-6620