Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1658

macOS: System wide libdiscid is used instead of the bundled one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.3.0b1
    • 2.2.2
    • Packaging & Deployment
    • None
    • macOS

      On macOS Picard is using the system wide libdiscid if available, and only uses the app bundled one if there is no system wide.

      In the specific case libdiscid was also installed in /usr/local. When loading python-discid it tries to load from system wide location, even if this fails. It will only attempt to load the bundled libdiscid if there is no system wide libdiscid.

      This causes problems if:

      1. The system wide libdiscid is an older version, resulting in bugs or missing functionality
      2. The system wide libdiscid cannot be loaded, resulting in discid lookup being disabled

      Case 2 is especiall problematic when enabling the "Hardened Runtime" (PICARD-1653), as this will prevent loading libdiscid.dylib until it has been signed. An unsigned system wide install of libdiscid is unsable.

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.3.0b1