Re: Android & Open SSL 1.1

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

 



Sorry!! I am iOS/.NET developer so have no experience. As per my little poor knowledge you need to compile the OpenSSL so files and then need to compile by configuring OpenSSL source including header and libs path in your build script.

Regards,
Arslan Pervaiz

On Thu, Nov 24, 2016 at 3:56 PM, Fanilo Gabaud <fanilo@xxxxxxxxxx> wrote:
Ok thanks, now i’m trying to build with the 1.0.2h, but I’m getting some issue. 
After building the OpenSSL library when I’m trying to build PJSIP with OpenSSL but I having this issue: 
`../src/pj/ssl_sock_ossl.c:48:25: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>`

To fix that I created a symbolic link and in this way PJSIP can access to the header files of  OpenSSL. But when I trying to build it I’m having this errors :

`Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lssl`

`Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrypto`

../src/pj/ssl_sock_ossl.c:229: error: undefined reference to ‘ERR_get_error’ etc. Do you know how to solve this ? Thanks

Fanilo Gabaud
Sent from Polymail

On jeu. 24 nov. 2016 at 15:44 Arslan Pervaiz <Arslan Pervaiz > wrote:
I believe its so far not supported in PJSIP as per below ticket.

https://trac.pjsip.org/repos/ticket/1932

Regards,
Arslan Pervaiz

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


On Thu, Nov 24, 2016 at 10:34 AM, Fanilo Gabaud <fanilo@xxxxxxxxxx> wrote:
Does anyone succeed to build pjsip with OpenSSL 1.1 ? I followed this guide to build OpenSSL https://wiki.openssl.org/index.php/Android. But when I’m trying to build PJSIP with OpenSSL I having this error : `SSL_library_init not found`. Does anyone have seen this issue and knows who to fix  it ? Thanks.

Cheers,

— 
Fanilo Gabaud
Sent from Polymail

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux