cygrpc.so for Android #36231
Labels
disposition/help wanted
Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!
kind/enhancement
lang/Python
priority/P2
Is your feature request related to a problem? Please describe.
I am building a python kivy app for Android (aarch64) that makes use of gRPC since it is a requirement for Google Cloud Firestore (big deal here). By simply using pip install grpcio, the building of the app works but when running on the phone, there is an error when the file _cython/cygrpc.so is opened:
ImportError: dlopen failed: library "librt.so.1" not found
As far as I have figured (after wrestling this issue for 3 weeks from many angles), librt can be accessed like that from glibc for regular linux distros but for the Bionic of android, librt is included in its libc. So it appears to me that this is simply a path pointing problem. Please correct me if I am wrong here.
Describe the solution you'd like
I gather that the manylinux wheels provided in PyPI are built for those regular Linux distros. It is sad though that the only incompatiblity with Android is this detail. I think it would be great to have at least a working cygrpc.so version for Android.
Describe alternatives you've considered
I have tried in many ways to compile cygrpc.so locally for aarch64 Android but have failed miserably. If the above request is not possible I could really use some guidance about how to cross-compile this cygrpc.so for aarch64 Android from (for instance, in my case) a x86_64 ubuntu.
The text was updated successfully, but these errors were encountered: