Import error in termux
thewhiteh4t opened this issue · 5 comments
thewhiteh4t commented
aiodns version : v3.0.0
pycares version : v4.0.0
steps to reproduce :
python -c "import aiodns"
Exception :
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/aiodns/__init__.py", line 4, in <module>
import pycares
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pycares-4.0.0-py3.9-linux-aarch64.egg/pycares/__init__.py", line 2, in <module>
from ._cares import ffi as _ffi, lib as _lib
ImportError: dlopen failed: cannot locate symbol "getservbyport_r" referenced by "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pycares-4.0.0-py3.9-linux-aarch64.egg/pycares/_cares.cpython-39.so"...
XniceCraft commented
pycares module cause the issue
adbenitez commented
having this issue recently, pycares fails to install
Happ1ness-dev commented
pycares fails to install
Same here
Happ1ness-dev commented
Fixed it by following this:
saghul/pycares#78 (comment)