metabrainz / metabrainz/python-discid
macOS: Prefer libdiscid.dylib in current folder
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
On macOS when loading libdiscid and libdiscid.dylib is both available system wide (e.g. in /usr/local/) and local to the application, the system wide install is preferred.
However, especially when running from a bundled app it might be preferable to use the bundled version to be sure to get exactly the expected version.
Having the local version being preferred seems to have been the intention of #16, however it does not currently work this way.
Picard is affected by this, see https://tickets.metabrainz.org/browse/PICARD-1653
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 by tracing the macOS libdiscid loading path and compare it with the intended behavior described in issue #16. Reproduce the case with libdiscid.dylib both in the application folder and /usr/local/, then verify that the bundled library is preferred, including the Picard bundled-app scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100