[MacPorts] #58574: poppler upgrade fails if older poppler is installed

MacPorts noreply at macports.org
Tue Oct 27 15:56:45 UTC 2020


#58574: poppler upgrade fails if older poppler is installed
----------------------+----------------------
  Reporter:  RobK88   |      Owner:  dbevans
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:
      Port:  poppler  |
----------------------+----------------------

Comment (by mascguy):

 Replying to [comment:79 michaelld]:
 > Correct all around! So what I do is use `DYLD_LIBRARY_PATH` for the in-
 build paths and `DYLD_FALLBACK_LIBRARY_PATH` (and `LIBRARY_PATH` itself,
 which honestly is probably more important) for non-in-build-paths -- for
 example MP paths. I have the PKGCONFIG command return 2 variables instead
 of 1: the non"-L" entries and the "-L" entries. These are then handled
 separately, which means we've removed all of the system "-L" entries from
 the link command and instead rely on `DYLD_FALLBACK_LIBRARY_PATH` and
 `LIBRARY_PATH`. This in my testing was the most reliable and cleanest way
 to get these builds to work as well as be executable in-build.

 Michael, is this straightforward enough, that you can provide a
 recommended patch to fix this?

-- 
Ticket URL: <https://trac.macports.org/ticket/58574#comment:80>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list