find_library_file doesn't handle openbsd shared library naming scheme
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 59
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
OpenBSD shared libraries are just installed as lib.so.., there are no symlinks from lib.so. The code in find_library_path only searches for .so without version numbers and .a, so it fails to find these unless there's also an associated static library.
(We found this after looking at issues with Pillow not building support for some image formats after updates to the various libraries which they depend on removed static libraries).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in distutils/compilers/C/unix.py at the referenced find_library_file and find_library_path code. Review how library filenames are searched, then verify that OpenBSD libraries named lib.so.. are found without an accompanying static library. The issue is done when this naming scheme is handled without breaking existing .so and .a lookup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100