configure: error: *** zlib missing
Dustin Offutt
dustin.offutt at saraide.com
Thu Mar 23 03:52:26 EST 2000
OpenSSH v1.2.2p1
Solaris v2.6 Sun e450
gcc v2.8.1
Problem description: zlib has been installed, yet after using advice gleaned
from mail-list archives, got past what sounds like the normal
Solaris/OpenSSHv1.2.2p1 errors and am receiving a "configure: error: ***
zlib missing - please install first ***".
.../archive/zlib/1.1.3# make install
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.a /usr/local/lib
cd /usr/local/lib; chmod 755 libz.a
cd /usr/local/lib; if test -f libz.so.1.1.3; then \
rm -f libz.so libz.so.1; \
ln -s libz.so.1.1.3 libz.so; \
ln -s libz.so.1.1.3 libz.so.1; \
(ldconfig || true) >/dev/null 2>&1; \
fi
cd .../archive/OpenSSH/solaris/1.2.2p1
./configure
checking for OpenSSL/SSLeay directory... configure: error: Could not find
working SSLeay / OpenSSL libraries, please install
LDFLAGS="-L/usr/local/ssl/lib" \
CFLAGS="-I/usr/local/ssl/include" \
LIBS="-lRSAref -lRSAglue" ./configure
<or>
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib" \
CFLAGS="-I/usr/local/ssl/include" \
LIBS="-lRSAref -lRSAglue" ./configure
configure: error: *** zlib missing - please install first ***
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib" \
CFLAGS="-I/usr/local/ssl/include" \
LIBS="-lRSAref -lRSAglue -lz" ./configure
checking whether the C compiler
(gcc -I/usr/local/ssl/include -L/usr/local/ssl/lib) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
LDFLAGS="-L/usr/local/ssl/lib" CFLAGS="-I/usr/local/ssl/include"
LIBS="-lRSAref -lRSAglue -lz" ./configure
configure: error: *** zlib missing - please install first ***
More information about the openssh-unix-dev
mailing list