I tried these suggestions
./configure --with-ssl-dir=/usr/local --with-rpath=-Wl,-rpath,
./configure --prefix=/usr --with-pam --with-selinux
--with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh
--with-ssl-dir=/usr/local/openssl
PKG_CONFIG_PATH='/usr/local/lib/pkgconfig:/usr/local/openssl/lib64/pkgconfig'
./configure --prefix=/usr --with-pam --with-selinux
--with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh
--with-ssl-dir=/usr/local
Finally, this worked.
./configure --prefix=/usr --with-pam --with-selinux
--with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh
--with-ssl-dir=/usr/local/openssl-3.0.16/
Then I had to comment two lines in /etc/ssh/sshd_config:
# GSSAPI options
#GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
Then make install succeeded. I haven't quite finished making the new
compiles effective.
Thanks
Stan Dickerson
On 3/10/25 09:10, Stan Dickerson 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.
I tried superuser.com but only got one response.
https://superuser.com/questions/1884767/how-can-i-fix-openssl-version-no-and-openssl-version-num-when-compiling-o?noredirect=1#comment2977271_1884767
|
Stan Dickerson
BEGIN:VCARD
FN:Stan Dickerson
N:Dickerson;Stan;;;
ORG:Energy Control Systems
ADR:;;2940-A Cole Court;Norcross;GA;30071;USA
EMAIL;PREF=1:stan@xxxxxxxxxxxxxxxxxxxxxxxx
TITLE:Product Development Engineer
TEL;TYPE=work:404-432-7091
TEL;TYPE=cell:404-432-7091
X-MOZILLA-HTML:TRUE
URL:www.energycontrolsystems.com
TZ;VALUE=TEXT:America/Phoenix
END:VCARD
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev