Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

import fails libasan.so #66

Open
Open
@johngebbie

Description

@johngebbie

It installs fine but it goofs when I try to import it like so:

$ python3 -c 'import pocketsphinx' 

Traceback (most recent call last):
  File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/__init__.py", line 40, in <module>
    from .ad_pulse import *
  File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/ad_pulse.py", line 27, in <module>
    from . import _ad_pulse
ImportError: libasan.so.5: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/john/test/venv/lib/python3.9/site-packages/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase import *
  File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/__init__.py", line 42, in <module>
    from .ad_alsa import *
  File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/ad_alsa.py", line 27, in <module>
    from . import _ad_alsa
ImportError: libasan.so.5: cannot open shared object file: No such file or directory

I'm using Void Linux and pip.

I feel like it's related to environment variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions