Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with load_library on Android #2

Closed
hoisie opened this issue Oct 28, 2014 · 3 comments
Closed

Problems with load_library on Android #2

hoisie opened this issue Oct 28, 2014 · 3 comments

Comments

@hoisie
Copy link
Contributor

hoisie commented Oct 28, 2014

Hi,
I just discovered baresip and am extremely impressed with this library!

I wanted to create a tracking issue for my issues running baresip on Android.
After building and installing, I ran ./baresip -f bs-config, and I got the following errors:

dl: mod: ./account.so (Cannot load library: load_library(linker.cpp:745): library "./account.so" not found)
module: module account.so: No such file or directory
dl: mod: ./alsa.so (Cannot load library: load_library(linker.cpp:745): library "./alsa.so" not found)
module: module alsa.so: No such file or directory

In the Makefile, the STATIC=1 var is passed to the baresip build, so I'm not sure why it's trying to load the modules.

The accounts defined in my bs-config/accounts aren't being loaded.

@alfredh
Copy link
Collaborator

alfredh commented Oct 30, 2014

this build of baresip is linking all modules statically into the baresip executable, so
the dl: mod should never be called. You might have a build/setup issue.

can you provide a full log of a clean build, and starting baresip with zero config
(it will be auto-generated first time) ?

@hoisie
Copy link
Contributor Author

hoisie commented Oct 31, 2014

Yes you're right. When it generated the default configuration, it printed module alsa instead of module opensles. Not sure why it's trying to load the accounts module, but I'll take a closer look at that.

@alfredh
Copy link
Collaborator

alfredh commented Nov 2, 2014

if ANDROID is defined, then the template should contain "opensles"

@alfredh alfredh closed this as completed Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants