On Tue, 11 Mar 2025 at 03:13, Stan Dickerson <stan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote: > Centos 6 - 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 > x86_64 x86_64 x86_64 GNU/Linux > > I'm trying to compile openssh-9.9p2. I compiled openssl-3.0.16 in > /usr/local. > > ./configure --prefix=/usr --with-pam --with-selinux > --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh > --with-ssl-dir=/usr/local > > I'm getting: > > |checking for openssl... /usr/local/bin/openssl checking for > openssl/opensslv.h... yes checking OpenSSL header version... 30000100 > (OpenSSL 3.0.16 11 Feb 2025) checking for OpenSSL_version... no checking > for OpenSSL_version_num... no checking OpenSSL library version... not > found configure: error: OpenSSL library not found. > The actual reason will be in config.log (you'll need to scroll a fair way back) but it's probably that /usr/local/lib is not in the runtime linker's path. One way to fix that is to tell the linker to add it with: ./configure --with-ssl-dir=/usr/local --with-rpath=-Wl,-rpath, (note that the trailing comma is significant) -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev