-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
An application using the library crashes on an x64 emulator with the following error:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_GetTextRelBase" referenced by "/data/app/.../base.apk!/lib/x86_64/libhftokenizer.so"...
On examining the libhftokenizer.so carefully (with ldd), we notice the following dependency:
$> ldd libhftokenizer.so
linux-vdso.so.1 (0x00007ffeac3b8000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff4a44db000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff4a4ada000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff4a43fc000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff4a43dc000)
- The symbol seems to originate from
libgcc_s.sowhich is a shared runtime library for GCC. (see this answer on SO) - Removal of
libgcc_s.soas a dependency OR packaginglibhftokenizeras a static library should solve the issue
References:
The issue was discovered by @greenrobot
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working