dlopen failed: cannot locate symbol “signal”

匿名 (未验证) 提交于 2019-12-03 08:57:35

问题:

I am developing an Android app using NDK.

I have built OpenSSL as static libraries, libcrypto.a and libssl.a, which I linked with my custom C code.

When I try to load the library at runtime I get: dlopen failed: cannot locate symbol "signal"...

Any idea how to fix this?

Thanks!

Update:

This comes from libcrypto:

libcrypto.a:

00000000         *UND*  00000000 signal 

In my .so I see: libtest.so:

NEEDED               libc.so ... 00040240 <signal@plt>:     40240:       e28fc601        add     ip, pc, #1048576        ; 0x100000     40244:       e28cca80        add     ip, ip, #128, 20        ; 0x80000     40248:       e5bcfd64        ldr     pc, [ip, #3428]!        ; 0xd64 

So why is it complaining about "signal"?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!