Skip to content

ImportError: dlopen failed: cannot locate symbol "uuid_to_hex" referenced by #534

Closed
sthagen/MagicStack-asyncpg
#5
@AXVin

Description

@AXVin
  • asyncpg version: 0.20.1
  • PostgreSQL version: -
  • Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
    the issue with a local PostgreSQL install?
    :
  • Python version: 3.8.1
  • Platform: Termux v0.92 on Android 9.0
  • Do you use pgbouncer?: No
  • Did you install asyncpg with pip?: Yes
  • If you built asyncpg locally, which version of Cython did you use?: None
  • Can the issue be reproduced under both asyncio and
    uvloop?
    : Yes

Whenever i try to import asyncpg in termux, i get this error. I asked some other people to try the same on their devices and this error was reproduceable

$ python
Python 3.8.1 (default, Jan 19 2020, 14:45:41)
[Clang 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf6 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import asyncpg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/__init__.py", line 8, in <module>
    from .connection import connect, Connection  # NOQA
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/connection.py", line 19, in <module>
    from . import connect_utils
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/connect_utils.py", line 27, in <module>
    from . import protocol
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/protocol/__init__.py", line 8, in <module>
    from .protocol import Protocol, Record, NO_TIMEOUT  # NOQA
  File "asyncpg/protocol/protocol.pyx", line 1, in init asyncpg.protocol.protocol
ImportError: dlopen failed: cannot locate symbol "uuid_to_hex" referenced by "/data/data/com.termux/files/usr/lib/python3.8/site-packages/asyncpg/pgproto/pgproto.cpython-38.so"...
>>>```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions