Re: build static stunnel with openssl
White Little <[email protected]>
| Newsgroups | gmane.network.stunnel.user |
|---|---|
| Message-ID | <CAP_5q-ags4YX-tnGw=pm3asOfNEM3-XdHiV5PpXHL6W+7D86EA@mail.gmail.com> |
Sorry for the misunderstanding, I mean it does not include* static OpenSSL,* but shared OpenSSL. After I make it, there is a stunnel under src folder. I copy it to other Unix system. *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?* => 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? [image: image.png] Peter Pentchev <[email protected]> 於 2018年10月8日 週一 下午4:23寫道: > 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
image.png
(image/png, 30.2 KB) - not displayed