Skip to content

Fails to import package when liboqs is compiled with OQS_DLOPEN_OPENSSL=ON #122

@iyanmv

Description

@iyanmv

As the title says, if liboqs is compiled with the option OQS_DLOPEN_OPENSSL=ON, this python package fails to import.

In particular, this line fails

lib: ct.CDLL = dll.LoadLibrary(str(path))

with this error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.13/ctypes/__init__.py", line 471, in LoadLibrary
    return self._dlltype(name)
           ~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/ctypes/__init__.py", line 390, in __init__
    self._handle = _dlopen(self._name, mode)
                   ~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: /usr/lib/liboqs.so.8: undefined symbol: EVP_DigestSqueeze

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