<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"><<a href="mailto:lconroy@insensate.co.uk" target="_blank">lconroy@insensate.co.uk</a>></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 "plain" 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>
> 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>
><br>
> Thanks<br>
> Mike<br>
><br>
> On Feb 5, 2014, at 8:30 AM, Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
><br>
>> Remember your last config log where I asked you to add -ldl? Everything was right but the test for dtls failed cos it didn'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>
>><br>
>> On Feb 5, 2014 1:55 AM, "Tamas Jalsovszky" <<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>> wrote:<br>
>> Yes, that could be the issue.<br>
>> I'm playing on ubuntu 12.04 which has:<br>
>> ii libssl0.9.8 0.9.8o-7ubuntu3.1 SSL shared libraries<br>
>> ii libssl1.0.0 1.0.1-4ubuntu5.11 SSL shared libraries<br>
>> ii libssl1.0.0:i386 1.0.1-4ubuntu5.11 SSL shared libraries<br>
>><br>
>> /lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
>> /lib/x86_64-linux-gnu/libssl.so.1.0.0<br>
>> /lib/i386-linux-gnu/libssl.so.1.0.0<br>
>><br>
>> /home/tomi/freeswitch_master/openssl-1.0.1f/libssl.pc<br>
>> /home/tomi/freeswitch_master/openssl-1.0.1f/libssl.a<br>
>> /home/tomi/freeswitch_master/openssl101f/lib/pkgconfig/libssl.pc<br>
>> /home/tomi/freeswitch_master/openssl101f/lib/libssl.a<br>
>><br>
>> /usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc<br>
>> /usr/lib/x86_64-linux-gnu/libssl.a<br>
>> /usr/lib/x86_64-linux-gnu/libssl.so<br>
>> /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
>> /usr/lib/x86_64-linux-gnu/libssl3.so.1d<br>
>> /usr/lib/x86_64-linux-gnu/libssl3.so<br>
>><br>
>> /lib/x86_64-linux-gnu/libcrypto.so.0.9.8<br>
>> /lib/x86_64-linux-gnu/libcrypto.so.1.0.0<br>
>> /lib/i386-linux-gnu/libcrypto.so.1.0.0<br>
>><br>
>> /usr/lib/x86_64-linux-gnu/libcrypto.so<br>
>> /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8<br>
>> /usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc<br>
>> /usr/lib/x86_64-linux-gnu/libcrypto.a<br>
>><br>
>> /home/tomi/freeswitch_master/openssl-1.0.1f/include/openssl/ssl.h<br>
>> /home/tomi/freeswitch_master/openssl101f/include/openssl/ssl.h<br>
>> /usr/include/openssl/ssl.h<br>
>><br>
>><br>
>><br>
>> On Wed, Feb 5, 2014 at 12:54 AM, Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br>
>> 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>
>><br>
>> libssl.*<br>
>> libcrypto.*<br>
>> openssl/ssl.h<br>
>><br>
>> also what is in your config.log comparable to the settings below from mine system<br>
>><br>
>> configure:23191: checking for openssl<br>
>> configure:23195: result: yes<br>
>> configure:23199: checking openssl_CFLAGS<br>
>> configure:23202: result:<br>
>> configure:23205: checking openssl_LIBS<br>
>> configure:23208: result: -lssl -lcrypto -lz<br>
>> configure:23408: checking for SSL_CTX_set_tlsext_use_srtp in -lssl<br>
>> configure:23442: result: yes<br>
>> configure:23454: checking for DTLSv1_method in -lssl<br>
>> configure:23488: result: yes<br>
>><br>
>><br>
>> On Feb 4, 2014, at 6:26 PM, Lawrence Conroy <<a href="mailto:lconroy@insensate.co.uk">lconroy@insensate.co.uk</a>> wrote:<br>
>><br>
>>> Hi There,<br>
>>> I suspect me too.<br>
>>><br>
>>> OS X Snow Leopard (to remove any residual Mavericks questions) on a C2D MBP.<br>
>>> NB: I need openssl 101f only because of the new fS requirement so have left the existing system openssl gubbins in /usr/{bin, include,...} & intended to build 101f "off the beaten track" just for fS. I have no interest in webRTC and its webby tree-hugginess, but if 101f's a requirement ... onwards and upwards.<br>
>>><br>
>>> Steps:<br>
>>> grabbed fresh fS master as of a few hours ago.<br>
>>> 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>
>>><br>
>>> in fS, bootstrap.sh, then .configure<br>
>>> configure reports it's added "-I/usr/local/opt/openssl/include" and "-L/usr/local/opt/openssl/lib".<br>
>>><br>
>>> However, same complaint:<br>
>>> checking for SSL_CTX_set_tlsext_use_srtp in -lssl... no<br>
>>> configure: error: OpenSSL >= 1.0.1e and associaed developement headers required<br>
>>><br>
>>> -------------<br>
>>> config.log sez (amongst loads else):<br>
>>> configure:23411: checking for SSL_CTX_set_tlsext_use_srtp in -lssl<br>
>>> 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 >&5<br>
>>> Undefined symbols:<br>
>>> "_SSL_CTX_set_tlsext_use_srtp", referenced from:<br>
>>> _main in cc81KfHG.o<br>
>>> ld: symbol(s) not found<br>
>>> collect2: ld returned 1 exit status<br>
>>> -------------<br>
>>><br>
>>> 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>
>>><br>
>>> Hence, I *think* this is the same issue. Ideas?<br>
>>><br>
>>> all the best,<br>
>>> Lawrence<br>
>>><br>
>>><br>
>>> On 4 Feb 2014, at 19:20, Anthony Minessale wrote:<br>
>>>> You may need to put the variable declarations first and all the command<br>
>>>> line switches such as --prefix last.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Tue, Feb 4, 2014 at 1:09 PM, Tamas Jalsovszky <<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>> wrote:<br>
>>>><br>
>>>>> Hello,<br>
>>>>><br>
>>>>> I tried this: ./configure --prefix=/opt/freeswitch --enable-sse<br>
>>>>> CFLAGS="-I/opt/freeswitch/openssl101f/include"<br>
>>>>> LDFLAGS="-L/opt/freeswitch/openssl101f/lib"<br>
>>>>> Previously I compiled openssl as it is documented in the wiki and in this<br>
>>>>> thread.<br>
>>>>> Unfortunately I got:<br>
>>>>> checking for openssl... yes<br>
>>>>> checking openssl_CFLAGS...<br>
>>>>> checking openssl_LIBS... -lssl -lcrypto<br>
>>>>> adding "-DHAVE_OPENSSL" to SWITCH_AM_CFLAGS<br>
>>>>> checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes<br>
>>>>> checking for DTLSv1_method in -lssl... no<br>
>>>>><br>
>>>>> configure: error: OpenSSL >= 1.0.1e and associaed developement headers<br>
>>>>> required<br>
>>>>><br>
>>>>> FS git master (5228e02b19ea3d952d0c476e5aa0f1173b2083e4), Ubuntu 12.04 LTS.<br>
>>>>><br>
>>>>> Is there other trick to build FS master with openssl from source code?<br>
>>>>><br>
>>>>> Regards,<br>
>>>>> T.<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _________________________________________________________________________<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>
<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>