configure in 7.1p1 fails on Solaris 10 SPARC

Bernt Jernberg bernt.jernberg at gmail.com
Tue Sep 1 00:52:38 AEST 2015


Hi,

I am trying to build the 7.1p1 on Solaris 10 SPARC.
I have build OpenSSL 1.0.1p and installed it in /opt/local/openssl.
Configure options for that:

export
PATH=/opt/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin
export MAKE=gmake
./Configure shared solaris64-sparcv9-gcc -R/usr/sfw/lib/sparcv9
-R/opt/local/openssl/lib --prefix=/opt/local/openssl
gmake test
gmake install

export
PATH=/opt/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin
./configure --sysconfdir=/etc/opt/openssh \
            --prefix=/opt/local \
            --with-solaris-contracts \
            --with-tcp-wrappers=/usr/sfw/lib \
            --with-ssl-dir=/opt/local/openssl \
            --with-audit=bsm \
            --without-bsd-auth \
            --with-zlib=/usr/sfw/lib \
            --with-privsep-path=/var/opt/empty \
            --with-pam \
            --with-privsep-user=sshd \
            --with-default-path=/opt/local/bin:/usr/bin:/usr/sbin:/sbin \

--with-superuser-path=/opt/local/sbin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin
\
            --with-kerberos5=/opt/local
CPPFLAGS='-I/opt/local/openssl/include' LDFLAGS='-L/opt/local/openssl/lib'

# crle

Configuration file [version 4]: /var/ld/ld.config
  Default Library Path (ELF):
/opt/local/openssl/lib:/lib:/usr/lib:/usr/ccs/lib:/usr/sfw/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system
default)

Command line:
  crle -c /var/ld/ld.config -l
/opt/local/openssl/lib:/lib:/usr/lib:/usr/ccs/lib:/usr/sfw/lib


I am using the default compiler:

# /usr/sfw/bin/gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# uname -a
SunOS myhost 5.10 Generic_142900-11 sun4u sparc SUNW,Sun-Fire-V215

No matter what I do the configure fails with:

checking OpenSSL header version... 1000110f (OpenSSL 1.0.1p 9 Jul 2015)
checking OpenSSL library version... configure: error: OpenSSL >= 0.9.8f
required (have "0090704f (OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for:
CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339
CVE-2006-4343 CVE-2007-5135 CVE-2007-3108 CVE-2008-5077 CVE-2009-0590))")

It always checks the one installed in /usr/sfw/lib

Am I missing something obvious?

Bernt Jernberg


More information about the openssh-unix-dev mailing list