I am running RHEL release v 7.9 and have successfully compiled OpenSSL version 1.1.1k using the following configuration:
##> ./config --prefix=/usr/src/openssl-1.1.1 --openssldir=/etc/openssl
The following paths are shown when I run command whereis openssl # whereis openssl openssl: /usr/lib64/openssl /usr/local/bin/openssl /usr/include/openssl /opt/openssl/bin/openssl /usr/src/openssl-1.1.1k/openssl.pc ]#
I have download and prepared Stunnel version 5.59 from https://www.stunnel.org/
I am using the following configuration:
##> ./configure --with-ssl=/opt/openssl --enable-static
When I compile Stunnel I get the following error message when we run Make install
make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/local/share/doc/stunnel' /bin/install -c -m 644 README.md TODO.md COPYING.md AUTHORS.md NEWS.md PORTS.md BUGS.md COPYRIGHT.md CREDITS.md INSTALL.W32.md INSTALL.WCE.md INSTALL.FIPS.md '/usr/local/share/doc/stunnel' make install-data-hook make[3]: Entering directory `/usr/src/stunnel-5.59' ********************************************************* * Type 'make cert' to also install a sample certificate * ********************************************************* make[3]: Leaving directory `/usr/src/stunnel-5.59' make[2]: Leaving directory `/usr/src/stunnel-5.59' make[1]: Leaving directory `/usr/src/stunnel-5.59' [root@tvdcltmp001 stunnel-5.59]#
Looks like Stunnel cannot link (probably because it can’t find the library)
Does anyone know what the error might be? What changes do I need to make to configure for compilation.