java.lang.UnsatisfiedLinkError: dlopen failed: library "libbcg729.so.0" not found

JE
Jeeva Easwaran
Tue, Oct 10, 2017 7:58 AM

Hi,

I am trying to build pjsip2.7 version for android with integration of
g729 as mentioned using this link https://trac.pjsip.org/repos/ticket/2029.

I am able to build g729 library and pjsip is able to recognize the g729
library.

Using bcg729 prefix... /home/protocol/Jeeva/PJSIPWorks/bcgandroid
checking bcg729 usability... ok

I am getting this message above successfully.

When trying to run the sample android pjsua2 app, i get this following
linker error

java.lang.UnsatisfiedLinkError: dlopen failed: library
"libbcg729.so.0" not found
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at org.pjsip.pjsua2.app.MyApp.<clinit>(MyApp.java:295)
at org.pjsip.pjsua2.app.MainActivity.onCreate(MainActivity.java:132)

I placed the pjsua2.so file in this path order

|--app:

|--|--src:

|--|--|--main

|--|--|--|--jniLibs

|--|--|--|--|--armeabi-v7a

|--|--|--|--|--|--pjsua2.so

Please help me to fix this issue.

Hi, I am trying to build pjsip2.7 version for android with integration of g729 as mentioned using this link https://trac.pjsip.org/repos/ticket/2029. I am able to build g729 library and pjsip is able to recognize the g729 library. > Using bcg729 prefix... /home/protocol/Jeeva/PJSIPWorks/bcgandroid > checking bcg729 usability... ok I am getting this message above successfully. When trying to run the sample android pjsua2 app, i get this following linker error > java.lang.UnsatisfiedLinkError: dlopen failed: library > "libbcg729.so.0" not found > at java.lang.Runtime.loadLibrary(Runtime.java:372) > at java.lang.System.loadLibrary(System.java:1076) > at org.pjsip.pjsua2.app.MyApp.<clinit>(MyApp.java:295) > at org.pjsip.pjsua2.app.MainActivity.onCreate(MainActivity.java:132) I placed the pjsua2.so file in this path order |--app: |--|--src: |--|--|--main |--|--|--|--jniLibs |--|--|--|--|--armeabi-v7a |--|--|--|--|--|--pjsua2.so Please help me to fix this issue.