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 arelibssl.*libcrypto.*openssl/ssl.halso what is in your config.log comparable to the settings below from mine systemconfigure:23191: checking for opensslconfigure:23195: result: yesconfigure:23199: checking openssl_CFLAGSconfigure:23202: result:configure:23205: checking openssl_LIBSconfigure:23208: result: -lssl -lcrypto -lzconfigure:23408: checking for SSL_CTX_set_tlsext_use_srtp in -lsslconfigure:23442: result: yesconfigure:23454: checking for DTLSv1_method in -lsslconfigure:23488: result: yesOn Feb 4, 2014, at 6:26 PM, Lawrence Conroy <lconroy@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@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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@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@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org