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

python dynamic lib could not find symbol reference #346

Closed
ghost opened this issue Jun 22, 2017 · 7 comments
Closed

python dynamic lib could not find symbol reference #346

ghost opened this issue Jun 22, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2017

ImportError: dlopen failed: cannot locate symbol "log2" referenced by "/data/data/com.termux/files/usr/lib/python3.6/site-packages/brotlipy-0.7.0-py3.6-linux-aarch64.egg/brotli/_brotli.abi3.so"

log2 seems in libc?

@fornwall
Copy link
Member

log2 is in libm on Android, not in libc.

Which Android version are you running on? This might be android/ndk#201.

@ghost
Copy link
Author

ghost commented Jun 22, 2017

android version is 5.0.2
-bash-4.4$: ldd /data/data/com.termux/files/usr/lib/python3.6/site-packages/brotlipy-0.7.0-py3.6-linux-aarch64.egg/brotli/_brotli.abi3.so
libandroid-support.so
libgnustl_shared.so
libpython3.6m.so.1.0
libdl.so
libc.so

libc.so,libdl.so and libm.so can be found in /system/lib64/

@ghost
Copy link
Author

ghost commented Jun 23, 2017

LD_LIBRARY_PATH="/system/lib64":$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
it's useless

@Demigoddd
Copy link

@fufufu2001 How did you solve this problem?

@ghost
Copy link
Author

ghost commented Aug 12, 2017

just switch android version to 6.0+

@Hax4us
Copy link

Hax4us commented Aug 27, 2017

Any progress ??

@Hax4us
Copy link

Hax4us commented Aug 27, 2017

Why this issue is still open ...plz solve and closed

@ghost ghost closed this as completed Aug 29, 2017
@ghost ghost locked and limited conversation to collaborators Oct 17, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants