[MacPorts] #52494: gnucash should not put ${prefix}/lib in DYLD_LIBRARY_PATH; causes finance-quote failure.
MacPorts
noreply at macports.org
Tue Oct 4 03:26:16 CEST 2016
#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
More information about the macports-tickets
mailing list