smarek / android-unbound-dns

Unbound DNS for Android
Apache License 2.0
35 stars 17 forks source link

Openssl Exception during execution #8

Closed mariaqur closed 9 years ago

mariaqur commented 9 years ago

I created package.zip as described in Step-by-Step guide and then followed running guide. I put the package in /data/tmp/local folder of android device using adb push. But when i run "unbound-control-setup" command, i get this exception.

"generating unbound_server.key CANNOT LINK EXECUTABLE: cannot locate symbol "signal" referenced by "openssl"... /data/local/tmp/package/bin/unbound-control-setup fatal error: could not genrsa"

I also tried using it with android code and installed apk in the rooted device. But it gives same exception.

Please let me know how can we resolve this issue. Thanks

ENV is attached

image

mariaqur commented 9 years ago

The problem is with NDK build. The package was created using 64 bit but I was using 32 bit device. The package recreation worked fine.

smarek commented 8 years ago

Cool to know, thanks !

smarek commented 8 years ago

Maybe we could add param to enforce 32bit binaries, however now there are no variants made currently (ie. compile for arm6 arm7 x86 x86_64)