On Sep 15, 2009, at 11:17 AM, Phil Longstaff wrote:
I did reply already, but here's the info again. Libdbi has 2
parts, the libdbi library and the dbd drivers (one driver for each
db type: sqlite3/mysql/pgsql). In the gnucash bin directory look
for an environment variable GNC_DBD_DIR. That is where gnucash
looks for the drivers. You can add --with-lib-dbd-dir=<dir> to
configure to override the default of /usr/lib/dbd, which is where my
linux system puts them.
The drivers are .so files with names like libdbdmysql.so
Thanks, that worked. Please apply the enclosed patch.
Regards,
John Ralls
Patch:
diff --git a/src/bin/gnucash-setup-env-osx.in b/src/bin/gnucash-setup-
env-osx.in
index 285a503..e8bc3b0 100644
--- a/src/bin/gnucash-setup-env-osx.in
+++ b/src/bin/gnucash-setup-env-osx.in
@@ -25,6 +25,7 @@ EXTRA_LIBS="${extra_li...@-path_separator-@@-
GNC_PKGLIB_INSTAL
LD_LIBRARY_PATH="${extra_li...@-path_separator-@${LD_LIBRARY_PATH}"
DYLD_LIBRARY_PATH="${extra_li...@-path_separator-@$
{DYLD_LIBRARY_PATH}"
+GNC_DBD_DIR="@-GNC_DBD_DIR-@"
GNC_STANDARD_REPORTS_DIR="@-GNC_STANDARD_REPORTS_DIR-@"
export GNC_MODULE_PATH
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel