The build process of OpenSSH 3.0p1 on Solaris 2.5.1 (SunOS 5.5.1) fails. I invoked the config script as follows: ./configure --prefix=/opt/openssh --with-ssl-dir=/opt/openssl \ --sysconfdir=/etc/ssh It proceeds through the configuration script (slowly - this is a Sun SS1000) and eventually reports this: checking for vsnprintf... no However, when configuration completes, I run make and it eventually fails thusly: cc -g -I. -I. -I/opt/openssl/include -I/usr/local/include -DETCDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/opt/openssh/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/openssh/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/opt/openssh/libexec/sftp-server\" -D_PATH_SSH_PIDDIR=\"/var/run\" -DHAVE_CONFIG_H -c authfd.c ld.so.1: /sw/com/SUNWspro/6.1/bin/../WS6U1/bin/acomp: fatal: relocation error: file /sw/com/SUNWspro/6.1/bin/../WS6U1/bin/acomp: symbol vsnprintf: referenced symbol not found cc: Fatal error in /sw/com/SUNWspro/6.1/bin/../WS6U1/bin/acomp : Killed *** Error code 9 make: Fatal error: Command failed for target `authfd.o' Upon further investigation, I find this in config.h: /* Define if you have the `vsnprintf' function. */ /* #undef HAVE_VSNPRINTF */ Shouldn't that be uncommented since I do not have vsnprintf in 5.5.1? I tried uncommenting that line and then rerunning make, but that doesn't fix the problem. BTW, I have Sun's current recommended 5.5.1 patch cluster installed on the build system.
The vsnprintf is a red herring, note that the error message comes from ld.so.1 when loading the acomp program. What this is saying is that acomp actually calls vsnprintf but ld.so.1 couldn't resolve that symbol. Since the Forte Developer 6 update 1 acomp was compiled and linked on Solaris 2.6, it won't run on Solaris 2.5.1. Forte Developer 6 (WS6) dropped Solaris 2.5.1 support; so did Forte Developer 6 update 1 (WS6U1) and Forte Developer 6 update 2 (WS6U2). So if you want to compile on Solaris 2.5.1 you need to use an older compiler. So this isn't a bug in OpenSSH.
Mass change of RESOLVED bugs to CLOSED