<div dir="ltr">its missing -ldl somehow in that test.<div><br></div><div>try adding it yourself:</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">./configure CFLAGS=&quot;-I/opt/freeswitch/</span><span style="font-family:arial,sans-serif;font-size:13px">openssl101f/include&quot; LDFLAGS=&quot;-ldl -L/opt/freeswitch/</span><span style="font-family:arial,sans-serif;font-size:13px">openssl101f/lib&quot; --prefix=/opt/freeswitch --enable-sse</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 3:31 PM, Tamas Jalsovszky <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com" target="_blank">jalsot@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">my config.log excerpt:<br>configure:23138: checking for openssl<br>configure:23142: result: yes<br>configure:23146: checking openssl_CFLAGS<br>
configure:23149: result:<br>configure:23152: checking openssl_LIBS<br>
configure:23155: result: -lssl -lcrypto<br>configure:23355: checking for SSL_CTX_set_tlsext_use_srtp in -lssl<br>configure:23380: gcc -o conftest -I/opt/freeswitch/openssl101f/include  -L/opt/freeswitch/openssl101f/l<br>
ib conftest.c -lssl  -lssl -lcrypto   -ljpeg  &gt;&amp;5<br>
configure:23380: $? = 0<br>configure:23389: result: yes<br>configure:23401: checking for DTLSv1_method in -lssl<br>configure:23426: gcc -o conftest -I/opt/freeswitch/openssl101f/include  -L/opt/freeswitch/openssl101f/l<br>

ib conftest.c -lssl  -lssl -lcrypto   -ljpeg  &gt;&amp;5<br>/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup&#39;:<br>dso_dlfcn.c:(.text+0x21): undefined reference to `dlopen&#39;<br>

dso_dlfcn.c:(.text+0x34): undefined reference to `dlsym&#39;<br>dso_dlfcn.c:(.text+0x3f): undefined reference to `dlclose&#39;<br>/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func&#39;:<br>

dso_dlfcn.c:(.text+0x374): undefined reference to `dlsym&#39;<br>dso_dlfcn.c:(.text+0x432): undefined reference to `dlerror&#39;<br>/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var&#39;:<br>

dso_dlfcn.c:(.text+0x4a4): undefined reference to `dlsym&#39;<br>dso_dlfcn.c:(.text+0x562): undefined reference to `dlerror&#39;<br>/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load&#39;:<br>

dso_dlfcn.c:(.text+0x5d4): undefined reference to `dlopen&#39;<br>dso_dlfcn.c:(.text+0x644): undefined reference to `dlclose&#39;<br>dso_dlfcn.c:(.text+0x672): undefined reference to `dlerror&#39;<br>/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr&#39;:<br>

dso_dlfcn.c:(.text+0x700): undefined reference to `dladdr&#39;<br>dso_dlfcn.c:(.text+0x761): undefined reference to `dlerror&#39;<br>/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload&#39;:<br>

dso_dlfcn.c:(.text+0x7ca): undefined reference to `dlclose&#39;<br>collect2: ld returned 1 exit status<br>configure:23426: $? = 1<br>configure: failed program was:<br>...<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Tue, Feb 4, 2014 at 10:16 PM, Tamas Jalsovszky <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com" target="_blank">jalsot@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>I tried without success with CFLAGS=&quot;-I/opt/freeswitch/openssl101f/include&quot; LDFLAGS=&quot;-L/opt/freeswitch/openssl101f/lib&quot; ./configure --prefix=/opt/freeswitch<br><br>$ ls /opt/freeswitch/openssl101f/include<br>


openssl<br>$ ls /opt/freeswitch/openssl101f/include/openssl/<br>aes.h       cmac.h      dso.h     hmac.h      obj_mac.h      rand.h       ssl23.h      ui.h<br>asn1.h      cms.h       dtls1.h   idea.h      ocsp.h         rc2.h        ssl2.h       whrlpool.h<br>


asn1_mac.h  comp.h      ebcdic.h  krb5_asn.h  opensslconf.h  rc4.h        ssl3.h       x509.h<br>asn1t.h     conf_api.h  ecdh.h    kssl.h      opensslv.h     ripemd.h     ssl.h        x509v3.h<br>bio.h       conf.h      ecdsa.h   lhash.h     ossl_typ.h     rsa.h        stack.h      x509_vfy.h<br>


blowfish.h  crypto.h    ec.h      md4.h       pem2.h         safestack.h  symhacks.h<br>bn.h        des.h       engine.h  md5.h       pem.h          seed.h       tls1.h<br>buffer.h    des_old.h   e_os2.h   mdc2.h      pkcs12.h       sha.h        ts.h<br>


camellia.h  dh.h        err.h     modes.h     pkcs7.h        srp.h        txt_db.h<br>cast.h      dsa.h       evp.h     objects.h   pqueue.h       srtp.h       ui_compat.h<br>$ ls /opt/freeswitch/openssl101f/lib<br>engines  libcrypto.a  libssl.a  pkgconfig<br>


<br></div>I guess, something is wrong in my environment, just don&#39;t know what.<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 10:03 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you make sure those paths exist and have files in it?<div>I have been able to do it on several boxes so far.</div>


<div><br></div><div>you could try the the variables before the command too i guess </div>
<div><br></div><div>CLFAGS=&quot;...&quot; LDFLAGS=&quot;...&quot; ./configure</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><div>
<div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Feb 4, 2014 at 1:48 PM, Tamas Jalsovszky <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com" target="_blank">jalsot@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div><div>I tried: ./configure CFLAGS=&quot;-I/opt/freeswitch/openssl101f/include&quot; LDFLAGS=&quot;-L/opt/freeswitch/openssl101f/lib&quot; --prefix=/opt/freeswitch --enable-sse<br></div>and: CFLAGS=&quot;-I/opt/freeswitch/openssl101f/include&quot; LDFLAGS=&quot;-L/opt/freeswitch/openssl101f/lib&quot; ./configure --prefix=/opt/freeswitch --enable-sse<br>




</div>with no success. </div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 8:20 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You may need to put the variable declarations first and all the command line switches such as --prefix last.<div>




<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Feb 4, 2014 at 1:09 PM, Tamas Jalsovszky <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com" target="_blank">jalsot@gmail.com</a>&gt;</span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I tried this: ./configure --prefix=/opt/freeswitch --enable-sse CFLAGS=&quot;-I/opt/freeswitch/openssl101f/include&quot; LDFLAGS=&quot;-L/opt/freeswitch/openssl101f/lib&quot;<br>






</div>Previously I compiled openssl as it is documented in the wiki and in this thread.<br></div>Unfortunately I got: <br>checking for openssl... yes<br>checking openssl_CFLAGS...  <br>checking openssl_LIBS... -lssl -lcrypto  <br>






  adding &quot;-DHAVE_OPENSSL&quot; to SWITCH_AM_CFLAGS<br>checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes<br>checking for DTLSv1_method in -lssl... no<div><br>configure: error: OpenSSL &gt;= 1.0.1e and associaed developement headers required<br>






</div></div><br>FS git master (5228e02b19ea3d952d0c476e5aa0f1173b2083e4), Ubuntu 12.04 LTS.<br><br></div>Is there other trick to build FS master with openssl from source code?<br><div><br>Regards,<br></div><div>  T.<br></div>





</div>
<br></div></div><div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>





<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>





</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br>




</div></div></div></div>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>



<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>



</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br>


</div></div></div></div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>
<div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br>
</div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ +19193869900 </div><div><br></div></div></div></div>
</div>