"cannot find ELF" when installing OpenSSH

When running make install to install OpenSSH 3.7p1 on a Solaris system, I received a "cannot find ELF" error:

/usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config
sshd: Cannot find ELF

The problem is solved when using SUNWbtool's /usr/ccs/bin/strip instead of GNU strip. GNU strip is likely located in /usr/local/bin. Make sure that /usr/ccs/bin is located before /usr/local/bin in your PATH and run make install:

PATH=/usr/ccs/bin:$PATH make install

More information at Google Groups.

Back to brandonhutchinson.com.
Last modified: 09/19/2003