OpenSSH 2.9p2 configure doesn't find libz in /usr/local/lib

Steve VanDevender stevev at
Wed Jun 27 03:46:15 EST 2001

Ladner, Eric (CLAD) writes:
 > Running configure on OpenSSH 2.9p2 doesn't find libz.XX if it is
 > located in /usr/local/lib.

That's highly compiler-dependent.  GCC will find libraries in
/usr/local/lib and include files in /usr/local/include by default.  Many
vendor compilers won't.  If you are using some vendor-supplied compiler,
add the appropriate flags to tell it to search /usr/local/include and
/usr/local/lib.  For example, in Digital UNIX I use

CC="cc -I/usr/local/include -L/usr/local/lib" ... ./configure ...

when configuring OpenSSH.

More information about the openssh-unix-dev mailing list