[MacPorts] #63264: libnotify @0.7.9_0: "image not found" when building docs on 1st install
MacPorts
noreply at macports.org
Mon Jul 19 22:42:05 UTC 2021
#63264: libnotify @0.7.9_0: "image not found" when building docs on 1st install
-------------------------------+--------------------
Reporter: evanmiller | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: libnotify, meson |
-------------------------------+--------------------
Changes (by ryandesign):
* cc: kencu (added)
* port: libnotify => libnotify, meson
Comment:
This port builds using the meson build system. When I build on macOS
10.13.6, the only occurrence of DYLD_LIBRARY_PATH within the work
directory is in build/meson-private/build.dat, which is a binary file
whose format I am not familiar with but inspecting it in an editor does
seem to suggest that it is set to the right path. I'm using meson 0.58.1.
Meson did not used to support macOS dynamic libraries at all, and when
support for them was added, it was done in such a way that relied on
rpath, a feature introduced in Mac OS X 10.5. To support 10.4, special
patches were added to the meson port, and the meson port was pegged to an
earlier version 0.55.3 presumably because some problems were encountered
when attempting to use newer versions on 10.4, or maybe just because it
had not yet been tested on those older systems.
[https://github.com/mesonbuild/meson/commit/a9e9b7c7501a3c8a5984a93879d1f309bf8c72aa
The code in meson that sets DYLD_LIBRARY_PATH] was not added until version
0.58.0, which is why it's not present for you in 0.55.3 on 10.4.
Cc'ing Ken who handles much of our older systems support. Ken, is there a
way to update meson to 0.58.0 or newer on 10.4, or to backport this patch?
--
Ticket URL: <https://trac.macports.org/ticket/63264#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list