Re: build static stunnel with openssl

Peter Pentchev <[email protected]>
Newsgroups gmane.network.stunnel.user
Message-ID <[email protected]>
On Mon, Oct 08, 2018 at 03:09:07PM +0800, White Little wrote:
> Thanks, Eric
> 
> But I did not put it on /usr/local/opensl or /usr/local/stunnel
> 
> 
> Below is my configuration log
> 
> 
> [root@Stunnel-Fedora stunnel-5.49]# ./configure  --enable-static
> --with-ssl=/root/stunnel/openssl-1.1.0i
[snip]
> configure: **************************************** TLS
[snip]
> checking for TLS directory... /root/stunnel/openssl-1.1.0i
[snip]
> 
> I tested on ubuntu14.04, 16.04   64bit and fedora 32bit,  all of them are
> them are not include opennssl.

What exactly makes you think that this does not include OpenSSL support?
The configure script seemed to find the include/openssl/ directory in
the directory that you specified; does the build fail somehow later?
If it does, show us the logs from the failed build.  Or does the compiled
executable does not say "Compiled with OpenSSL 1.1.0i"?  If it does not,
show us the full build log (maybe use a pastebin-like service somewhere,
e.g. paste.debian.net)..

BTW a question: is /root/stunnel/openssl-1.1.0i the place you extracted
and compiled OpenSSL, or the place you installed it after building it?
If you just built it there, you also need to install it somewhere and
point the stunnel configure script at the directory where it is
installed, not at the build tree.  This might mean that you may need to
rebuild it again after specifying a --prefix or something like that
(I do not remember exactly how the OpenSSL build works).

G'luck,
Peter

-- 
Peter Pentchev  roam@{ringlet.net,debian.org,FreeBSD.org} [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAlu7FBAACgkQZR7vsCUn
3xND8w//Sh77ia2HKU+wO5mLyC2L1+SgdTvMtrJa7FM44VJgnLOYQNfbkUm84o2u
giuRf7DT1pXtc2CP8w+1xIMrjpRdSsRptfq/X1lilpdEXIj6gZUNLARg0l0/m9g2
CXUWP4TBbw92gmkwT1e0q4fN049F3qzUhwcSE0KBZgJySHvGZ60wo5zJKuXaRosp
obeEh4sOagWtRxrHr2+CQ/+PXgaFCOVnOW+wdg2a60oGRpgF4v2yoNt91QlIKu7W
PyDt2u/EWQ5vlrEENJVrbKfvi+ldg8bnR4P/ghyIn4WvmeYgjI+ycBr2bP9YB7c0
UrqRBz7t/qyeSFgyjxDQ5sHZY1mwnzQ1YcMa5hScX6KhMLFxxNl5rYAEGace4K/A
6/JHo9VEhPVF37SZz5DRzINFtkK3vvZq87x5B20gL96C7LCioUplqOso+z3leIxt
Y7TlC6vSOjcYZFtbaFUnXtg/cnkYn3XYwGcHWPQEaf+m/cxCvy5anihSbAF6lV0M
knf0cEY3EBpjZRq2NF2WFaAvLUsBtzOdA2d8mraJYydbk87MoMg1uLxopsDTm33+
3cGvS+uvhe2OXk9NgFpxnYb3ZB0DSPtSlqtK7pEO5brvWNkecv5n3S/KGGhcZ11E
lqCPM2cPh2jGt6Vv30ynF4txRlqNb/tsi/tcHz8UypnG5Wd8DgU=
=jMf+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.