[OSX] 2.3.5 with DBI & SQLite
John Ralls
jralls at ceridwen.us
Tue Sep 15 19:47:57 EDT 2009
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_LIBS}@-PATH_SEPARATOR-@@-
GNC_PKGLIB_INSTAL
LD_LIBRARY_PATH="${EXTRA_LIBS}@-PATH_SEPARATOR-@${LD_LIBRARY_PATH}"
DYLD_LIBRARY_PATH="${EXTRA_LIBS}@-PATH_SEPARATOR-@$
{DYLD_LIBRARY_PATH}"
+GNC_DBD_DIR="@-GNC_DBD_DIR-@"
GNC_STANDARD_REPORTS_DIR="@-GNC_STANDARD_REPORTS_DIR-@"
export GNC_MODULE_PATH
More information about the gnucash-devel
mailing list