[MacPorts] #52494: gnucash should not put ${prefix}/lib in DYLD_LIBRARY_PATH; causes finance-quote failure.
#52494: gnucash should not put ${prefix}/lib in DYLD_LIBRARY_PATH; causes finance- quote failure. ----------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: gnucash ----------------------+---------------------- (opening this ticket to track the issue while I think about a solution) gnucash sets DYLD_LIBRARY_PATH to include ${prefix}/lib at runtime, which can cause problems. In particular, it causes the perl helper processes gnc-fq-check and gnc-fq-helper to fail to execute, breaking quote fetching. (Possibly this is dependent on which libraries are present in /opt/local/lib?) Looks like the reason it needs to modify DYLD_LIBRARY_PATH is so that it can dynamically load guile modules. That includes both gnucash plugins as well as guile srfi libraries, installed by the guile18 port. Perhaps the answer is to have them both installed into a separate lib dir that can be added to DYLD_LIBRARY_PATH without having to include all of ${prefix}/lib. I wonder if this affects any other ports that use guile... -- Ticket URL: <https://trac.macports.org/ticket/52494> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52494: gnucash should not put ${prefix}/lib in DYLD_LIBRARY_PATH; causes finance- quote failure. -----------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gnucash | -----------------------+---------------------- Changes (by dports@…): * status: new => closed * resolution: => fixed Comment: Updated guile18 to install into a separate directory in r153747, and updated gnucash to use it in r153748/r153749. Everything is symlinked into its old location, so this shouldn't affect any other ports that use guile (although if they use DYLD_LIBRARY_PATH, they may want to do the same thing) -- Ticket URL: <https://trac.macports.org/ticket/52494#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts