r15377 - gnucash/trunk/src/bin - Add DYLD_LIBRARY_PATH variable to the gnucash script.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Jan 14 14:38:02 EST 2007


Author: andi5
Date: 2007-01-14 14:38:01 -0500 (Sun, 14 Jan 2007)
New Revision: 15377
Trac: http://svn.gnucash.org/trac/changeset/15377

Modified:
   gnucash/trunk/src/bin/gnucash.in
Log:
Add DYLD_LIBRARY_PATH variable to the gnucash script.

On MacOS, the load-extension calls need DYLD_LIBRARY_PATH to be set to
find the libraries. This was missing in the startup script.


Modified: gnucash/trunk/src/bin/gnucash.in
===================================================================
--- gnucash/trunk/src/bin/gnucash.in	2007-01-14 18:18:43 UTC (rev 15376)
+++ gnucash/trunk/src/bin/gnucash.in	2007-01-14 19:38:01 UTC (rev 15377)
@@ -17,9 +17,11 @@
 EXTRA_LIBS="${EXTRA_LIBS}@-PATH_SEPARATOR-@@-GNC_MODULE_DIR-@"
 
 LD_LIBRARY_PATH="${EXTRA_LIBS}@-PATH_SEPARATOR-@${LD_LIBRARY_PATH}"
+DYLD_LIBRARY_PATH="${EXTRA_LIBS}@-PATH_SEPARATOR-@${DYLD_LIBRARY_PATH}"
 
 export GNC_MODULE_PATH
 export GUILE_LOAD_PATH
 export LD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH
 
 exec gnucash-bin "$@"



More information about the gnucash-changes mailing list