SQL Backend can't parse URL

Derek Atkins warlord at MIT.EDU
Sun Feb 1 14:33:24 EST 2009


Quoting Phil Longstaff <plongstaff at rogers.com>:

> which means that there was some problem initializing libdbi.
> Your listing above shows that the dbd file are in /usr/local/lib/dbd.  My
> packages (ubuntu) put them in /usr/lib/dbd, so that is what I made the
> default.  I would assume that /usr/lib/dbd doesn't exist on your machine,
> which is why dbi_initialize() returns -1.
> Try adding '--with-dbi-dbd-dir=/usr/local/lib/dbd' to your configure command.

Why does GnuCash depend on the way that DBI was built?  I'm not familiar
with the DBI API, but... does the application need to tell DBI where
to find the DBD plugins?

If yes, is there some way we could discover that (maybe via pkg-config)?
If no, why do you need to know the DBD dir?

> Phil


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list