Re: compiling on an older system (Centos 6)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Try this
./configure --prefix=/usr --with-pam --with-selinux --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/openssl

Or this
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

It might fix it. I use it on centOS 7 and it works just fine.

Zak.

On 2025-03-10 16: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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux