[Freeswitch-users] 1.4/master openssl requirement change.

Anthony Minessale anthony.minessale at gmail.com
Thu Feb 6 01:13:59 MSK 2014


i mean -shared



On Wed, Feb 5, 2014 at 4:13 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> If you follow the thread back, it was discovered that adding -shard to the
> config for the openssl will fix it on your platform.
>
>
>
> On Wed, Feb 5, 2014 at 2:04 PM, Tamas Jalsovszky <jalsot at gmail.com> wrote:
>
>> I tried that, but wasn't able to put the -ldl. I will give it up, as it
>> is not that important for me. Thank you for ideas.
>>
>>
>> On Wed, Feb 5, 2014 at 2:30 PM, Anthony Minessale <
>> anthony.minessale at gmail.com> wrote:
>>
>>> 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
>>> configure.in for that test and see if you can add -ldl to it.
>>>  On Feb 5, 2014 1:55 AM, "Tamas Jalsovszky" <jalsot at gmail.com> wrote:
>>>
>>>> Yes, that could be the issue.
>>>> I'm playing on ubuntu 12.04 which has:
>>>> ii  libssl0.9.8
>>>> 0.9.8o-7ubuntu3.1                                   SSL shared libraries
>>>> ii  libssl1.0.0
>>>> 1.0.1-4ubuntu5.11                                   SSL shared libraries
>>>> ii  libssl1.0.0:i386
>>>> 1.0.1-4ubuntu5.11                                   SSL shared libraries
>>>>
>>>> /lib/x86_64-linux-gnu/libssl.so.0.9.8
>>>> /lib/x86_64-linux-gnu/libssl.so.1.0.0
>>>> /lib/i386-linux-gnu/libssl.so.1.0.0
>>>>
>>>> /home/tomi/freeswitch_master/openssl-1.0.1f/libssl.pc
>>>> /home/tomi/freeswitch_master/openssl-1.0.1f/libssl.a
>>>> /home/tomi/freeswitch_master/openssl101f/lib/pkgconfig/libssl.pc
>>>> /home/tomi/freeswitch_master/openssl101f/lib/libssl.a
>>>>
>>>> /usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc
>>>> /usr/lib/x86_64-linux-gnu/libssl.a
>>>> /usr/lib/x86_64-linux-gnu/libssl.so
>>>> /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8
>>>> /usr/lib/x86_64-linux-gnu/libssl3.so.1d
>>>> /usr/lib/x86_64-linux-gnu/libssl3.so
>>>>
>>>> /lib/x86_64-linux-gnu/libcrypto.so.0.9.8
>>>> /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
>>>> /lib/i386-linux-gnu/libcrypto.so.1.0.0
>>>>
>>>> /usr/lib/x86_64-linux-gnu/libcrypto.so
>>>> /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8
>>>> /usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc
>>>> /usr/lib/x86_64-linux-gnu/libcrypto.a
>>>>
>>>> /home/tomi/freeswitch_master/openssl-1.0.1f/include/openssl/ssl.h
>>>> /home/tomi/freeswitch_master/openssl101f/include/openssl/ssl.h
>>>> /usr/include/openssl/ssl.h
>>>>
>>>>
>>>>
>>>> On Wed, Feb 5, 2014 at 12:54 AM, Michael Jerris <mike at jerris.com>wrote:
>>>>
>>>>> 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
>>>>>
>>>>> libssl.*
>>>>> libcrypto.*
>>>>> openssl/ssl.h
>>>>>
>>>>> also what is in your config.log comparable to the settings below from
>>>>> mine system
>>>>>
>>>>> configure:23191: checking for openssl
>>>>>
>>>>>
>>>>> configure:23195: result: yes
>>>>>
>>>>>
>>>>> configure:23199: checking openssl_CFLAGS
>>>>>
>>>>>
>>>>> configure:23202: result:
>>>>>
>>>>>
>>>>> configure:23205: checking openssl_LIBS
>>>>>
>>>>>
>>>>> configure:23208: result: -lssl -lcrypto -lz
>>>>>
>>>>>
>>>>> configure:23408: checking for SSL_CTX_set_tlsext_use_srtp in -lssl
>>>>>
>>>>>
>>>>> configure:23442: result: yes
>>>>>
>>>>>
>>>>> configure:23454: checking for DTLSv1_method in -lssl
>>>>>
>>>>>
>>>>> configure:23488: result: yes
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Feb 4, 2014, at 6:26 PM, Lawrence Conroy <lconroy at insensate.co.uk>
>>>>> wrote:
>>>>>
>>>>> Hi There,
>>>>> I suspect me too.
>>>>>
>>>>> OS X Snow Leopard (to remove any residual Mavericks questions) on a
>>>>> C2D MBP.
>>>>> 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.
>>>>>
>>>>> Steps:
>>>>> grabbed fresh fS master as of a few hours ago.
>>>>> 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).
>>>>>
>>>>> in fS, bootstrap.sh, then .configure
>>>>> configure reports it's added "-I/usr/local/opt/openssl/include" and
>>>>> "-L/usr/local/opt/openssl/lib".
>>>>>
>>>>> However, same complaint:
>>>>> checking for SSL_CTX_set_tlsext_use_srtp in -lssl... no
>>>>> configure: error: OpenSSL >= 1.0.1e and associaed developement headers
>>>>> required
>>>>>
>>>>> -------------
>>>>> config.log sez (amongst loads else):
>>>>> configure:23411: checking for SSL_CTX_set_tlsext_use_srtp in -lssl
>>>>> 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
>>>>> Undefined symbols:
>>>>>  "_SSL_CTX_set_tlsext_use_srtp", referenced from:
>>>>>      _main in cc81KfHG.o
>>>>> ld: symbol(s) not found
>>>>> collect2: ld returned 1 exit status
>>>>> -------------
>>>>>
>>>>> 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.
>>>>>
>>>>> Hence, I *think* this is the same issue. Ideas?
>>>>>
>>>>> all the best,
>>>>>  Lawrence
>>>>>
>>>>>
>>>>> On 4 Feb 2014, at 19:20, Anthony Minessale wrote:
>>>>>
>>>>> You may need to put the variable declarations first and all the command
>>>>> line switches such as --prefix last.
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Feb 4, 2014 at 1:09 PM, Tamas Jalsovszky <jalsot at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I tried this: ./configure --prefix=/opt/freeswitch --enable-sse
>>>>> CFLAGS="-I/opt/freeswitch/openssl101f/include"
>>>>> LDFLAGS="-L/opt/freeswitch/openssl101f/lib"
>>>>> Previously I compiled openssl as it is documented in the wiki and in
>>>>> this
>>>>> thread.
>>>>> Unfortunately I got:
>>>>> checking for openssl... yes
>>>>> checking openssl_CFLAGS...
>>>>> checking openssl_LIBS... -lssl -lcrypto
>>>>> adding "-DHAVE_OPENSSL" to SWITCH_AM_CFLAGS
>>>>> checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes
>>>>> checking for DTLSv1_method in -lssl... no
>>>>>
>>>>> configure: error: OpenSSL >= 1.0.1e and associaed developement headers
>>>>> required
>>>>>
>>>>> FS git master (5228e02b19ea3d952d0c476e5aa0f1173b2083e4), Ubuntu 12.04
>>>>> LTS.
>>>>>
>>>>> Is there other trick to build FS master with openssl from source code?
>>>>>
>>>>> Regards,
>>>>> T.
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>>>>
>>>>>http://freeswitch.org/http://cluecon.com/>>>>> http://twitter.com/FreeSWITCH
>>>>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>>>>> <http://freeswitch.org/g+>*
>>>>>
>>>>> ClueCon Weekly Development Call
>>>>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://
>>>>> lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
>


-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140205/29971428/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list