<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br>Visorel,</div><div><br></div><div>Did you compile OpenSSL yourself? Did you enable shared library support? <br>Maybe you system is picking system installed OpenSSL headers (0.9.8) instead of the new ones.</div><div><br></div><div>Regards</div><div>Jose<br><div><br><br>Enviado desde mi iPhone</div>El 16/09/2016, a las 9:39 a.m., Viorel Panaite <<a href="mailto:Viorel.Panaite@tecsys.com">Viorel.Panaite@tecsys.com</a>> escribió:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I downloaded stunnel-5.35 and I’m trying to compile using openssl-1.0.2h on RedHat EL linux 5.4<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I get this error when I’m trying to compile them together,<o:p></o:p></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>Configure log </b> <o:p></o:p></p>
<p class="MsoNormal">./configure --prefix=/apps/stunnel/535 --with-ssl=/apps/openssl/1.0.2h/<o:p></o:p></p>
<p class="MsoNormal">……………………. <o:p></o:p></p>
<p class="MsoNormal">hecking for broken poll() implementation... no<o:p></o:p></p>
<p class="MsoNormal">checking for pipe2... no<o:p></o:p></p>
<p class="MsoNormal">checking for accept4... no<o:p></o:p></p>
<p class="MsoNormal">configure: **************************************** optional features<o:p></o:p></p>
<p class="MsoNormal">checking whether to enable IPv6 support... yes (default)<o:p></o:p></p>
<p class="MsoNormal">checking whether to enable FIPS support... autodetecting<o:p></o:p></p>
<p class="MsoNormal">checking whether to enable systemd socket activation support... autodetecting<o:p></o:p></p>
<p class="MsoNormal">checking for library containing sd_listen_fds... no<o:p></o:p></p>
<p class="MsoNormal">configure: systemd library not found<o:p></o:p></p>
<p class="MsoNormal">checking whether to enable TCP wrappers support... autodetecting<o:p></o:p></p>
<p class="MsoNormal">checking for hosts_access in -lwrap... yes<o:p></o:p></p>
<p class="MsoNormal">configure: libwrap support enabled<o:p></o:p></p>
<p class="MsoNormal">configure: **************************************** SSL<o:p></o:p></p>
<p class="MsoNormal">checking for compiler sysroot... /<o:p></o:p></p>
<p class="MsoNormal">checking for SSL directory... /apps/openssl/1.0.2h/<o:p></o:p></p>
<p class="MsoNormal">checking for FIPS_mode_set... yes<o:p></o:p></p>
<p class="MsoNormal">configure: FIPS support enabled<o:p></o:p></p>
<p class="MsoNormal">configure: **************************************** write the results<o:p></o:p></p>
<p class="MsoNormal">checking that generated files are newer than configure... done<o:p></o:p></p>
<p class="MsoNormal">configure: creating ./config.status<o:p></o:p></p>
<p class="MsoNormal">config.status: creating Makefile<o:p></o:p></p>
<p class="MsoNormal">config.status: creating src/Makefile<o:p></o:p></p>
<p class="MsoNormal">config.status: creating doc/Makefile<o:p></o:p></p>
<p class="MsoNormal">config.status: creating tools/Makefile<o:p></o:p></p>
<p class="MsoNormal">config.status: creating src/config.h<o:p></o:p></p>
<p class="MsoNormal">config.status: src/config.h is unchanged<o:p></o:p></p>
<p class="MsoNormal">config.status: executing depfiles commands<o:p></o:p></p>
<p class="MsoNormal">config.status: executing libtool commands<o:p></o:p></p>
<p class="MsoNormal">configure: **************************************** success<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>make log<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[root@mybox stunnel-5.35]# make<o:p></o:p></p>
<p class="MsoNormal">Making all in src<o:p></o:p></p>
<p class="MsoNormal">make[1]: Entering directory `/apps/stunnel/stunnel-5.35/src'<o:p></o:p></p>
<p class="MsoNormal">make all-am<o:p></o:p></p>
<p class="MsoNormal">make[2]: Entering directory `/apps/stunnel/stunnel-5.35/src'<o:p></o:p></p>
<p class="MsoNormal"> CCLD stunnel<o:p></o:p></p>
<p class="MsoNormal">/usr/bin/ld: skipping incompatible /apps/openssl/1.0.2h//lib/libssl.a when searching for -lssl<o:p></o:p></p>
<p class="MsoNormal">/usr/bin/ld: skipping incompatible /apps/openssl/1.0.2h//lib/libcrypto.a when searching for -lcrypto<o:p></o:p></p>
<p class="MsoNormal">stunnel-client.o: In function `client_run':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/client.c:201: undefined reference to `ERR_remove_thread_state'<o:p></o:p></p>
<p class="MsoNormal">stunnel-options.o: In function `parse_service_option':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/options.c:2669: undefined reference to `TLSv1_2_client_method'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/options.c:2670: undefined reference to `TLSv1_2_server_method'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/options.c:2662: undefined reference to `TLSv1_1_client_method'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/options.c:2663: undefined reference to `TLSv1_1_server_method'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `auth_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:442: undefined reference to `SSL_CTX_set_psk_server_callback'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `context_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:133: undefined reference to `SSL_CTX_set_client_cert_engine'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `auth_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:440: undefined reference to `SSL_CTX_set_psk_client_callback'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `conf_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:376: undefined reference to `SSL_CONF_CTX_new'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:381: undefined reference to `SSL_CONF_CTX_set_ssl_ctx'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:382: undefined reference to `SSL_CONF_CTX_set_flags'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:383: undefined reference to `SSL_CONF_CTX_set_flags'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:385: undefined reference to `SSL_CONF_CTX_set_flags'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:392: undefined reference to `SSL_CONF_cmd'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:420: undefined reference to `SSL_CONF_CTX_finish'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:422: undefined reference to `SSL_CONF_CTX_free'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `ecdh_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:351: undefined reference to `EC_KEY_new_by_curve_name'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:359: undefined reference to `EC_KEY_free'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `conf_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:414: undefined reference to `SSL_CONF_CTX_free'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:409: undefined reference to `SSL_CONF_CTX_free'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:425: undefined reference to `SSL_CONF_CTX_free'<o:p></o:p></p>
<p class="MsoNormal">stunnel-ctx.o: In function `servername_cb':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:229: undefined reference to `SSL_get_servername'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/ctx.c:253: undefined reference to `SSL_set_SSL_CTX'<o:p></o:p></p>
<p class="MsoNormal">stunnel-verify.o: In function `ocsp_request':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:499: undefined reference to `OCSP_CERTID_dup'<o:p></o:p></p>
<p class="MsoNormal">stunnel-verify.o: In function `ocsp_get_response':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:614: undefined reference to `OCSP_sendreq_new'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:625: undefined reference to `OCSP_REQ_CTX_add1_header'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:629: undefined reference to `OCSP_REQ_CTX_add1_header'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:634: undefined reference to `OCSP_REQ_CTX_set1_req'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:641: undefined reference to `OCSP_sendreq_nbio'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:668: undefined reference to `OCSP_REQ_CTX_free'<o:p></o:p></p>
<p class="MsoNormal">stunnel-verify.o: In function `cert_check_subject':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:299: undefined reference to `X509_check_host'<o:p></o:p></p>
<p class="MsoNormal">stunnel-verify.o: In function `ocsp_check':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:457: undefined reference to `X509_get1_ocsp'<o:p></o:p></p>
<p class="MsoNormal">stunnel-verify.o: In function `cert_check_subject':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:312: undefined reference to `X509_check_email'<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:323: undefined reference to `X509_check_ip_asc'<o:p></o:p></p>
<p class="MsoNormal">stunnel-verify.o: In function `cert_check_local':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/verify.c:356: undefined reference to `X509_STORE_get1_certs'<o:p></o:p></p>
<p class="MsoNormal">stunnel-sthreads.o: In function `sthreads_init':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/sthreads.c:287: undefined reference to `CRYPTO_THREADID_set_callback'<o:p></o:p></p>
<p class="MsoNormal">stunnel-sthreads.o: In function `threadid_func':<o:p></o:p></p>
<p class="MsoNormal">/apps/stunnel/stunnel-5.35/src/sthreads.c:268: undefined reference to `CRYPTO_THREADID_set_numeric'<o:p></o:p></p>
<p class="MsoNormal">collect2: ld returned 1 exit status<o:p></o:p></p>
<p class="MsoNormal">make[2]: *** [stunnel] Error 1<o:p></o:p></p>
<p class="MsoNormal">make[2]: Leaving directory `/apps/stunnel/stunnel-5.35/src'<o:p></o:p></p>
<p class="MsoNormal">make[1]: *** [all] Error 2<o:p></o:p></p>
<p class="MsoNormal">make[1]: Leaving directory `/apps/stunnel/stunnel-5.35/src'<o:p></o:p></p>
<p class="MsoNormal">make: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Thanks for your help.<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>stunnel-users mailing list</span><br><span><a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a></span><br><span><a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a></span><br></div></blockquote></body></html>