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

Tamas Jalsovszky jalsot at gmail.com
Wed Feb 5 00:31:26 MSK 2014


my config.log excerpt:
configure:23138: checking for openssl
configure:23142: result: yes
configure:23146: checking openssl_CFLAGS
configure:23149: result:
configure:23152: checking openssl_LIBS
configure:23155: result: -lssl -lcrypto
configure:23355: checking for SSL_CTX_set_tlsext_use_srtp in -lssl
configure:23380: gcc -o conftest -I/opt/freeswitch/openssl101f/include
-L/opt/freeswitch/openssl101f/l
ib conftest.c -lssl  -lssl -lcrypto   -ljpeg  >&5
configure:23380: $? = 0
configure:23389: result: yes
configure:23401: checking for DTLSv1_method in -lssl
configure:23426: gcc -o conftest -I/opt/freeswitch/openssl101f/include
-L/opt/freeswitch/openssl101f/l
ib conftest.c -lssl  -lssl -lcrypto   -ljpeg  >&5
/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_globallookup':
dso_dlfcn.c:(.text+0x21): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x34): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x3f): undefined reference to `dlclose'
/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_bind_func':
dso_dlfcn.c:(.text+0x374): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x432): undefined reference to `dlerror'
/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_bind_var':
dso_dlfcn.c:(.text+0x4a4): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x562): undefined reference to `dlerror'
/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_load':
dso_dlfcn.c:(.text+0x5d4): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x644): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x672): undefined reference to `dlerror'
/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x700): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0x761): undefined reference to `dlerror'
/opt/freeswitch/openssl101f/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_unload':
dso_dlfcn.c:(.text+0x7ca): undefined reference to `dlclose'
collect2: ld returned 1 exit status
configure:23426: $? = 1
configure: failed program was:
...


On Tue, Feb 4, 2014 at 10:16 PM, Tamas Jalsovszky <jalsot at gmail.com> wrote:

> I tried without success with
> CFLAGS="-I/opt/freeswitch/openssl101f/include"
> LDFLAGS="-L/opt/freeswitch/openssl101f/lib" ./configure
> --prefix=/opt/freeswitch
>
> $ ls /opt/freeswitch/openssl101f/include
> openssl
> $ ls /opt/freeswitch/openssl101f/include/openssl/
> aes.h       cmac.h      dso.h     hmac.h      obj_mac.h      rand.h
> ssl23.h      ui.h
> asn1.h      cms.h       dtls1.h   idea.h      ocsp.h         rc2.h
> ssl2.h       whrlpool.h
> asn1_mac.h  comp.h      ebcdic.h  krb5_asn.h  opensslconf.h  rc4.h
> ssl3.h       x509.h
> asn1t.h     conf_api.h  ecdh.h    kssl.h      opensslv.h     ripemd.h
> ssl.h        x509v3.h
> bio.h       conf.h      ecdsa.h   lhash.h     ossl_typ.h     rsa.h
> stack.h      x509_vfy.h
> blowfish.h  crypto.h    ec.h      md4.h       pem2.h         safestack.h
> symhacks.h
> bn.h        des.h       engine.h  md5.h       pem.h          seed.h
> tls1.h
> buffer.h    des_old.h   e_os2.h   mdc2.h      pkcs12.h       sha.h
> ts.h
> camellia.h  dh.h        err.h     modes.h     pkcs7.h        srp.h
> txt_db.h
> cast.h      dsa.h       evp.h     objects.h   pqueue.h       srtp.h
> ui_compat.h
> $ ls /opt/freeswitch/openssl101f/lib
> engines  libcrypto.a  libssl.a  pkgconfig
>
> I guess, something is wrong in my environment, just don't know what.
>
>
> On Tue, Feb 4, 2014 at 10:03 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> Did you make sure those paths exist and have files in it?
>> I have been able to do it on several boxes so far.
>>
>> you could try the the variables before the command too i guess
>>
>> CLFAGS="..." LDFLAGS="..." ./configure
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Feb 4, 2014 at 1:48 PM, Tamas Jalsovszky <jalsot at gmail.com>wrote:
>>
>>> I tried: ./configure CFLAGS="-I/opt/freeswitch/openssl101f/include"
>>> LDFLAGS="-L/opt/freeswitch/openssl101f/lib" --prefix=/opt/freeswitch
>>> --enable-sse
>>> and: CFLAGS="-I/opt/freeswitch/openssl101f/include"
>>> LDFLAGS="-L/opt/freeswitch/openssl101f/lib" ./configure
>>> --prefix=/opt/freeswitch --enable-sse
>>> with no success.
>>>
>>>
>>> On Tue, Feb 4, 2014 at 8:20 PM, Anthony Minessale <
>>> anthony.minessale at gmail.com> 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140204/60559c9e/attachment-0001.html 


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