SDL Error
Nazariglez opened this issue · 3 comments
Nazariglez commented
Hi! I just tried the apk provided in the readme, and I get the error: "Error: dlopen failed: library "./obj/local/arm64-v8a/libexample.so" not found"
Do you know how can I fix this? Thanks
gen2brain commented
Yes, you should add soname to library, like this: -ldflags="-s -w -extldflags=-Wl,-soname,libexample.so" , and after that there is no more ./obj/local/
gen2brain commented
So apk available for download can show that error on some devices, on some it is ok, not sure why. If you rebuild example with soname (should be changed in mklib.bash) it will work on all devices.
I will rebuild example when I find time.
Nazariglez commented
Thanks @gen2brain I will try again with your tip!