Ladner, Eric (CLAD)
2001-Jun-26 17:41 UTC
OpenSSH 2.9p2 configure doesn't find libz in /usr/local/lib
Running configure on OpenSSH 2.9p2 doesn't find libz.XX if it is located in /usr/local/lib. Thanks, Eric
Steve VanDevender
2001-Jun-26 17:46 UTC
OpenSSH 2.9p2 configure doesn't find libz in /usr/local/lib
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.
Ladner, Eric (CLAD)
2001-Jun-26 19:07 UTC
OpenSSH 2.9p2 configure doesn't find libz in /usr/local/lib
D'oh! I had a bad value for LDFLAGS that was already defined in the environment. Nothing to see here.. Move along.. Thanks, Eric -----Original Message----- From: Steve VanDevender [mailto:stevev at darkwing.uoregon.edu] Sent: Tuesday, June 26, 2001 12:46 PM To: openssh-unix-dev at mindrot.org Subject: OpenSSH 2.9p2 configure doesn't find libz in /usr/local/lib 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.