Im looking for an stunnel 5.x RPM for Centos 6.5 so I can get TLS1.2 support. Ive looked everywhere, but cannot find one. Ive tried downloading and compiling, as per another question on here (title: Stunnel 5.4 on Centos ), and followed all the instructions, but am running into compile errors.
The command is: rpmbuild -ta stunnel-5.46.tar.gz
Here is an example.
client.c:147: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
client.c:180: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
client.c:203: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
/root/rpmbuild/BUILD/stunnel-5.46/src/client.c:487: undefined reference to `OpenSSL_version_num'
/root/rpmbuild/BUILD/stunnel-5.46/src/client.c:487: undefined reference to `OpenSSL_version_num'
/root/rpmbuild/BUILD/stunnel-5.46/src/client.c:488: undefined reference to `OpenSSL_version_num'
/root/rpmbuild/BUILD/stunnel-5.46/src/stunnel.c:897: undefined reference to `OpenSSL_version'
/root/rpmbuild/BUILD/stunnel-5.46/src/stunnel.c:899: undefined reference to `OpenSSL_version'
/root/rpmbuild/BUILD/stunnel-5.46/src/stunnel.c:900: undefined reference to `OpenSSL_version_num'
collect2: ld returned 1 exit status
make[2]: *** [stunnel] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/stunnel-5.46/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/stunnel-5.46/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.mbHOf4 (%build)
If anyone can help, Id be grateful.
regards Richard