Skip to content

OSError: undefined symbol: wavefront_aligner_attr_default when loading libwfagpu.so with Python ctypes #8

Description

@chrisxu2016

Hello,

I am encountering an issue when trying to load the libwfagpu shared library in Python using ctypes. My environment is as follows:

Python 3.12.9 (Anaconda)
Linux (GCC 12.3.1.3)
wfagpu compiled as build/libwfagpu.so
When I run the following code:

import ctypes
libwfagpu = ctypes.CDLL('build/libwfagpu.so')

I get the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/chrisxu/miniconda3/lib/python3.12/ctypes/__init__.py", line 379, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: build/libwfagpu.so: undefined symbol: wavefront_aligner_attr_default

How can I resolve this issue?

Thank you for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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