<div dir="ltr"><div dir="ltr">Sorry for the misunderstanding, <div><br></div><div>I mean it does not include<b> static OpenSSL,</b> but shared OpenSSL.</div><div><br></div><div>After I make it, there is a stunnel under src folder. I copy it to other Unix system.</div><div><br></div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><b>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?</b></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> => Yes, I did not install it.
=> I type ./config no-shared and make it. I saw there is a libssl.a under that folder, so I think it could be used, do I wrong here? </pre></div><div><div><img src="cid:ii_jn0238tn1" alt="image.png" width="562" height="37"><br></div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Peter Pentchev <<a href="mailto:roam@ringlet.net">roam@ringlet.net</a>> 於 2018年10月8日 週一 下午4:23寫道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Oct 08, 2018 at 03:09:07PM +0800, White Little wrote:<br>
> Thanks, Eric<br>
> <br>
> But I did not put it on /usr/local/opensl or /usr/local/stunnel<br>
> <br>
> <br>
> Below is my configuration log<br>
> <br>
> <br>
> [root@Stunnel-Fedora stunnel-5.49]# ./configure --enable-static<br>
> --with-ssl=/root/stunnel/openssl-1.1.0i<br>
[snip]<br>
> configure: **************************************** TLS<br>
[snip]<br>
> checking for TLS directory... /root/stunnel/openssl-1.1.0i<br>
[snip]<br>
> <br>
> I tested on ubuntu14.04, 16.04 64bit and fedora 32bit, all of them are<br>
> them are not include opennssl.<br>
<br>
What exactly makes you think that this does not include OpenSSL support?<br>
The configure script seemed to find the include/openssl/ directory in<br>
the directory that you specified; does the build fail somehow later?<br>
If it does, show us the logs from the failed build. Or does the compiled<br>
executable does not say "Compiled with OpenSSL 1.1.0i"? If it does not,<br>
show us the full build log (maybe use a pastebin-like service somewhere,<br>
e.g. <a href="http://paste.debian.net" rel="noreferrer" target="_blank">paste.debian.net</a>)..<br>
<br>
BTW a question: is /root/stunnel/openssl-1.1.0i the place you extracted<br>
and compiled OpenSSL, or the place you installed it after building it?<br>
If you just built it there, you also need to install it somewhere and<br>
point the stunnel configure script at the directory where it is<br>
installed, not at the build tree. This might mean that you may need to<br>
rebuild it again after specifying a --prefix or something like that<br>
(I do not remember exactly how the OpenSSL build works).<br>
<br>
G'luck,<br>
Peter<br>
<br>
-- <br>
Peter Pentchev roam@{<a href="http://ringlet.net" rel="noreferrer" target="_blank">ringlet.net</a>,<a href="http://debian.org" rel="noreferrer" target="_blank">debian.org</a>,FreeBSD.org} <a href="mailto:pp@storpool.com" target="_blank">pp@storpool.com</a><br>
PGP key: <a href="http://people.FreeBSD.org/~roam/roam.key.asc" rel="noreferrer" target="_blank">http://people.FreeBSD.org/~roam/roam.key.asc</a><br>
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13<br>
</blockquote></div>