metabrainz / metabrainz/python-discid

macOS: Prefer libdiscid.dylib in current folder

Open
#49 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.