-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ImportError: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by [...]/gevent/__hub_local.so" #2037
Comments
I have already found a couple of previous related bugs, but weren't useful for me: |
Yes that definitely feels like libpython wasn't linked 🤔 |
I did a minimal Kivy app which reproduces the same error with |
I got the same error with
|
Having a similar issue when trying to use gevent, although in my case it's not locating
I'm no expert, but it does seem to be an issue of libpython not being linked like @AndreMiras indicated, although from the logs it does "appear" to be trying to link (see e.g. Has anyone with more knowledge than I been able to get gevent working, or have ideas of workarounds or what to try next? |
I have the same problem as @elongberg, has anyone managed to solve this? I thought it might be a case of the |
Now the error has changed a bit with
|
Versions
https://github.com/kivy/buildozer/blob/master/Dockerfile ).
Description
What are you trying to get done
Create an APK with a Python Kivy app which includes, among others, Python's
gevent
module, which depends on_Py_NoneStruct
symbol (not found).What has happened and What went wrong
Building process finished correctly (I have the APK).
Execution process ended before the app is fully loaded with error message:
ImportError: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by "/data/data/org.test.myapp/files/app/_python_bundle/site-packages/gevent/__hub_local.so"...
What did you expect
I expected the app to run smoothly as it does on Linux ;)
Short & runnable App
testerror.zip
buildozer.spec
Command:
Spec file:
Logs
Related build logs (note the lld hacky stuff, despite I have installed manually
apt install llvm
):The last logs from ADB are:
The text was updated successfully, but these errors were encountered: