Opened 8 years ago
Closed 8 years ago
#52494 closed defect (fixed)
gnucash should not put ${prefix}/lib in DYLD_LIBRARY_PATH; causes finance-quote failure.
Reported by: | drkp (Dan Ports) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gnucash |
Description
(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...
Change History (1)
comment:1 Changed 8 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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)