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

Lawrence Conroy lconroy at insensate.co.uk
Wed Feb 5 02:26:34 MSK 2014


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




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