Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ctypes.util.find_library usage #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

haim0n
Copy link

@haim0n haim0n commented Feb 11, 2025

In 0.0.5 the ctypes.util.find_library fallback searched for lib_name without the "lib" prefix.

Using the prefix breaks the fallback on some platforms: Ubuntu 16.04, 20.04, 22.04. Fix this by trying both name conventions

In 0.0.5 the ctypes.util.find_library fallback searched for lib_name without the "lib" prefix.

Using the prefix breaks the fallback on some platforms: Ubuntu 16.04, 20.04, 22.04.
Fix this by trying both name conventions
@FussyDuck
Copy link

FussyDuck commented Feb 11, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

Caution

This pull request contains changes to GitHub workflows!
Proceed with caution and if not sure, contact your GitHub admin.

@haimjether
Copy link

Fix: #17

@ke5gdb
Copy link

ke5gdb commented Feb 15, 2025

+1 for this fix. It solved some problems on Debian Bookworm (in the context of Raspberry Pi OS, aarch64-linux-gnu) running Python 3.11.

@SF-N
Copy link

SF-N commented Mar 7, 2025

Hi, thanks for working on this PR. We would like to use this in our next release of the Online Laboratory for Data Compression in Climate Science and Meteorology, which is part of the ESiWACE3 project and joint work between University of Helsinki (@juntyr) and ECMWF.

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

Successfully merging this pull request may close these issues.

5 participants