linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] belle-sip and mbedtls 2


From: Guillaume Horel
Subject: Re: [Linphone-developers] belle-sip and mbedtls 2
Date: Sat, 5 Dec 2015 16:00:49 -0500

Well no, you have mbedtls_ssl_init, not ssl_init. Mbedtls broke the
ABI by prefixing all the function names by mbedtls. I don't think you
can compile belle-sip without porting it to the new api.

On Sat, Dec 5, 2015 at 3:04 PM, Mariusz Fik <address@hidden> wrote:
> Dnia sobota, 5 grudnia 2015 10:12:01 Robert Dyck pisze:
>> It appears that configure is looking for ssl_init. I can confirm that my
>> libmbedtls contains ssl_init.
>> strings /usr/lib64/libmbedtls.so.9 | grep ssl_init  yields ssl_init
>> Perhaps it is missing in version 10.
>
> Symbols are in the right place:
> address@hidden:~/Devel $ readelf -s libmbedtls.so.2.2.0|grep ssl_init
>    227: 0000000000015ba0    47 FUNC    GLOBAL DEFAULT   12 mbedtls_ssl_init
>
>> On December 5, 2015 03:09:04 PM Mariusz Fik wrote:
>> > Dnia piÄ…tek, 4 grudnia 2015 18:58:44 Robert Dyck pisze:
>> > > These links worked for me.
>> > >
>> > > /usr/lib64/libpolarssl.so -> /usr/lib64/libmbedtls.so.9
>> > > /usr/lib64/libpolarssl.so -> /usr/lib64/libmbedtls.so.9
>> >
>> > I already have:
>> > /usr/lib64/libpolarssl.so -> /usr/lib64/libmbedtls.so
>> > /usr/lib64/libmbedtls.so -> /usr/lib64/libmbedtls.so.10
>> > /usr/lib64/libmbedtls.so.10 -> /usr/lib64/libmbedtls.so.2.2.0
>> >
>> > > On December 5, 2015 02:41:12 AM Mariusz Fik wrote:
>> > > > Hi,
>> > > >
>> > > > I'm trying to compile belle-sip with mbedtls 2 but I'm stuck at
>> > > > ./configure
>> > > > with:
>> > > > [   62s] checking antlr3.h usability... yes
>> > > > [   62s] checking antlr3.h presence... yes
>> > > > [   62s] checking for antlr3.h... yes
>> > > > [   62s] checking whether antlr3StringStreamNew is declared... yes
>> > > > [   62s] configure: WARNING: res_getservers not usable
>> > > > [   62s] checking whether res_ndestroy is declared... no
>> > > > [   62s] checking for antlr3... no
>> > > > [   62s] checking for java... /usr/bin/java
>> > > > [   62s] checking for ssl_init  in -lmbedtls... no
>> > > > [   63s] checking for ssl_init in -lpolarssl... no
>> > > > [   63s] checking polarssl/ssl.h usability... yes
>> > > > [   63s] checking polarssl/ssl.h presence... yes
>> > > > [   63s] checking for polarssl/ssl.h... yes
>> > > > [   63s] configure: error: polarssl not found or usable but TLS
>> > > > support
>> > > > required.
>> > > >
>> > > > While `nm -D libmbedtls.so.2.2.0 | grep ssl_init` returns:
>> > > > >$ 0000000000015ba0 T mbedtls_ssl_init
>> > > >
>> > > > Any ideas how to move on?
>
> --
> Greetings,
> Mariusz Fik
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]