GNC_MODULE_PATH loaded twice

2010-10-11 Thread Geert Janssens
I've been doing some code reading in the gnc_module code. I've found that at some point the paths in environment variable GNC_MODULE_PATH are appended to the environment variable LD_LIBRARY_PATH. This happens somewhere early in the gnc_module initialization [1]. However at the time the

Re: GNC_MODULE_PATH loaded twice

2010-10-11 Thread John Ralls
On Oct 11, 2010, at 3:11 AM, Geert Janssens wrote: I've been doing some code reading in the gnc_module code. I've found that at some point the paths in environment variable GNC_MODULE_PATH are appended to the environment variable LD_LIBRARY_PATH. This happens somewhere early in the

Re: GNC_MODULE_PATH loaded twice

2010-10-11 Thread Geert Janssens
On Monday 11 October 2010, John Ralls wrote: On Oct 11, 2010, at 3:11 AM, Geert Janssens wrote: I've been doing some code reading in the gnc_module code. I've found that at some point the paths in environment variable GNC_MODULE_PATH are appended to the environment variable

Re: GNC_MODULE_PATH loaded twice

2010-10-11 Thread John Ralls
On Oct 11, 2010, at 12:02 PM, Geert Janssens wrote: On Monday 11 October 2010, John Ralls wrote: On Oct 11, 2010, at 3:11 AM, Geert Janssens wrote: I've been doing some code reading in the gnc_module code. I've found that at some point the paths in environment variable GNC_MODULE_PATH are

Re: GNC_MODULE_PATH loaded twice

2010-10-11 Thread Geert Janssens
On Monday 11 October 2010, John Ralls wrote: On Oct 11, 2010, at 12:02 PM, Geert Janssens wrote: You even imply more than I intended. If I understand your reasoning correctly, (DY)LD_LIBRARY_PATH should contain paths for shared libraries only, while GnuCash' loadable modules should be in a

Re: GNC_MODULE_PATH loaded twice

2010-10-11 Thread Christian Stimming
Absolutely. Just go ahead and remove this lib lookup weirdness. +1 from me and thanks a lot! Christian Zitat von Geert Janssens janssens-ge...@telenet.be: On Monday 11 October 2010, John Ralls wrote: On Oct 11, 2010, at 12:02 PM, Geert Janssens wrote: You even imply more than I intended. If