<div dir="ltr">Keep in mind when you do this that the openssl you install becomes a dependency so the code is not portable without it so if you need to copy the binaries to other systems you plan accordingly such as installing the openssl into the same prefix as FS eg /usr/local/freeswitch<div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 9:04 AM, Lawrence Conroy <span dir="ltr">&lt;<a href="mailto:lconroy@insensate.co.uk" target="_blank">lconroy@insensate.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mike, folks,<br>
 Bingo! --shared is your friend.<br>
building &quot;plain&quot; openssl 101f with --shared --prefix=/usr/local/opt/openssl and then running fs build gets through configure without problems. Result.<br>
[now I only have to get mod_mp4 to work through make :]<br>
many thanks,<br>
  Lawrence<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 5 Feb 2014, at 13:57, Michael Jerris wrote:<br>
<br>
&gt; It looks like the issue on at least a few of these is that your manually rolled 101f installs are static only.  If you build those shared it should resolve the issue.  Please re-test and let me know.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Mike<br>
&gt;<br>
&gt; On Feb 5, 2014, at 8:30 AM, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Remember your last config log where I asked you to add -ldl? Everything was right but the test for dtls failed cos it didn&#39;t add -ldl to the compile.  I suspect once you fix that it will work.  Look in the <a href="http://configure.in" target="_blank">configure.in</a> for that test and see if you can add -ldl to it.<br>

&gt;&gt;<br>
&gt;&gt; On Feb 5, 2014 1:55 AM, &quot;Tamas Jalsovszky&quot; &lt;<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Yes, that could be the issue.<br>
&gt;&gt; I&#39;m playing on ubuntu 12.04 which has:<br>
&gt;&gt; ii  libssl0.9.8                            0.9.8o-7ubuntu3.1                                   SSL shared libraries<br>
&gt;&gt; ii  libssl1.0.0                            1.0.1-4ubuntu5.11                                   SSL shared libraries<br>
&gt;&gt; ii  libssl1.0.0:i386                       1.0.1-4ubuntu5.11                                   SSL shared libraries<br>
&gt;&gt;<br>
&gt;&gt; /lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
&gt;&gt; /lib/x86_64-linux-gnu/libssl.so.1.0.0<br>
&gt;&gt; /lib/i386-linux-gnu/libssl.so.1.0.0<br>
&gt;&gt;<br>
&gt;&gt; /home/tomi/freeswitch_master/openssl-1.0.1f/libssl.pc<br>
&gt;&gt; /home/tomi/freeswitch_master/openssl-1.0.1f/libssl.a<br>
&gt;&gt; /home/tomi/freeswitch_master/openssl101f/lib/pkgconfig/libssl.pc<br>
&gt;&gt; /home/tomi/freeswitch_master/openssl101f/lib/libssl.a<br>
&gt;&gt;<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libssl.a<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libssl.so<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libssl3.so.1d<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libssl3.so<br>
&gt;&gt;<br>
&gt;&gt; /lib/x86_64-linux-gnu/libcrypto.so.0.9.8<br>
&gt;&gt; /lib/x86_64-linux-gnu/libcrypto.so.1.0.0<br>
&gt;&gt; /lib/i386-linux-gnu/libcrypto.so.1.0.0<br>
&gt;&gt;<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libcrypto.so<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc<br>
&gt;&gt; /usr/lib/x86_64-linux-gnu/libcrypto.a<br>
&gt;&gt;<br>
&gt;&gt; /home/tomi/freeswitch_master/openssl-1.0.1f/include/openssl/ssl.h<br>
&gt;&gt; /home/tomi/freeswitch_master/openssl101f/include/openssl/ssl.h<br>
&gt;&gt; /usr/include/openssl/ssl.h<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Feb 5, 2014 at 12:54 AM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt; wrote:<br>
&gt;&gt; it sounds to me like its finding a system version before the other one.  can you let me know the other locations on your box where the following files are<br>
&gt;&gt;<br>
&gt;&gt; libssl.*<br>
&gt;&gt; libcrypto.*<br>
&gt;&gt; openssl/ssl.h<br>
&gt;&gt;<br>
&gt;&gt; also what is in your config.log comparable to the settings below from mine system<br>
&gt;&gt;<br>
&gt;&gt; configure:23191: checking for openssl<br>
&gt;&gt; configure:23195: result: yes<br>
&gt;&gt; configure:23199: checking openssl_CFLAGS<br>
&gt;&gt; configure:23202: result:<br>
&gt;&gt; configure:23205: checking openssl_LIBS<br>
&gt;&gt; configure:23208: result: -lssl -lcrypto -lz<br>
&gt;&gt; configure:23408: checking for SSL_CTX_set_tlsext_use_srtp in -lssl<br>
&gt;&gt; configure:23442: result: yes<br>
&gt;&gt; configure:23454: checking for DTLSv1_method in -lssl<br>
&gt;&gt; configure:23488: result: yes<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Feb 4, 2014, at 6:26 PM, Lawrence Conroy &lt;<a href="mailto:lconroy@insensate.co.uk">lconroy@insensate.co.uk</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi There,<br>
&gt;&gt;&gt; I suspect me too.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; OS X Snow Leopard (to remove any residual Mavericks questions) on a C2D MBP.<br>
&gt;&gt;&gt; NB: I need openssl 101f only because of the new fS requirement so have left the existing system openssl gubbins in /usr/{bin, include,...} &amp; intended to build 101f &quot;off the beaten track&quot; just for fS. I have no interest in webRTC and its webby tree-hugginess, but if 101f&#39;s a requirement ... onwards and upwards.<br>

&gt;&gt;&gt;<br>
&gt;&gt;&gt; Steps:<br>
&gt;&gt;&gt; grabbed fresh fS master as of a few hours ago.<br>
&gt;&gt;&gt; grabbed openssl101f. built openssl to put its stuff in /usr/local/opt/openssl (i.e., /usr/local/opt/openssl/bin, /usr/local/opt/openssl/lib, /usr/local/opt/openssl/include/openssl).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; in fS, bootstrap.sh, then .configure<br>
&gt;&gt;&gt; configure reports it&#39;s added &quot;-I/usr/local/opt/openssl/include&quot; and &quot;-L/usr/local/opt/openssl/lib&quot;.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; However, same complaint:<br>
&gt;&gt;&gt; checking for SSL_CTX_set_tlsext_use_srtp in -lssl... no<br>
&gt;&gt;&gt; configure: error: OpenSSL &gt;= 1.0.1e and associaed developement headers required<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -------------<br>
&gt;&gt;&gt; config.log sez (amongst loads else):<br>
&gt;&gt;&gt; configure:23411: checking for SSL_CTX_set_tlsext_use_srtp in -lssl<br>
&gt;&gt;&gt; configure:23436: gcc -o conftest -g -O2 -pipe -no-cpp-precomp -I/usr/local/opt/openssl/include  -pipe -bind_at_load -L/usr/local/opt/openssl/lib conftest.c -lssl  -lssl -lcrypto -lz   -lncurses -ljpeg  &gt;&amp;5<br>

&gt;&gt;&gt; Undefined symbols:<br>
&gt;&gt;&gt; &quot;_SSL_CTX_set_tlsext_use_srtp&quot;, referenced from:<br>
&gt;&gt;&gt;     _main in cc81KfHG.o<br>
&gt;&gt;&gt; ld: symbol(s) not found<br>
&gt;&gt;&gt; collect2: ld returned 1 exit status<br>
&gt;&gt;&gt; -------------<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So ... openssl 101f DID put its stuff in /usr/local/opt/openssl, fS appears to have added the -I and -L to look there, but no joy.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hence, I *think* this is the same issue. Ideas?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; all the best,<br>
&gt;&gt;&gt; Lawrence<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 4 Feb 2014, at 19:20, Anthony Minessale wrote:<br>
&gt;&gt;&gt;&gt; You may need to put the variable declarations first and all the command<br>
&gt;&gt;&gt;&gt; line switches such as --prefix last.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Tue, Feb 4, 2014 at 1:09 PM, Tamas Jalsovszky &lt;<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I tried this: ./configure --prefix=/opt/freeswitch --enable-sse<br>
&gt;&gt;&gt;&gt;&gt; CFLAGS=&quot;-I/opt/freeswitch/openssl101f/include&quot;<br>
&gt;&gt;&gt;&gt;&gt; LDFLAGS=&quot;-L/opt/freeswitch/openssl101f/lib&quot;<br>
&gt;&gt;&gt;&gt;&gt; Previously I compiled openssl as it is documented in the wiki and in this<br>
&gt;&gt;&gt;&gt;&gt; thread.<br>
&gt;&gt;&gt;&gt;&gt; Unfortunately I got:<br>
&gt;&gt;&gt;&gt;&gt; checking for openssl... yes<br>
&gt;&gt;&gt;&gt;&gt; checking openssl_CFLAGS...<br>
&gt;&gt;&gt;&gt;&gt; checking openssl_LIBS... -lssl -lcrypto<br>
&gt;&gt;&gt;&gt;&gt; adding &quot;-DHAVE_OPENSSL&quot; to SWITCH_AM_CFLAGS<br>
&gt;&gt;&gt;&gt;&gt; checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes<br>
&gt;&gt;&gt;&gt;&gt; checking for DTLSv1_method in -lssl... no<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; configure: error: OpenSSL &gt;= 1.0.1e and associaed developement headers<br>
&gt;&gt;&gt;&gt;&gt; required<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; FS git master (5228e02b19ea3d952d0c476e5aa0f1173b2083e4), Ubuntu 12.04 LTS.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Is there other trick to build FS master with openssl from source code?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;&gt;&gt; T.<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>
</div></div></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>