DBI/SQL backend save as failure

Phil Longstaff plongstaff at rogers.com
Fri Jun 13 22:18:26 EDT 2008


David Reiser wrote:
> Using r17230 (+ a GType fix in gnc-backend-dbi.c), gnucash builds,  
> launches, and opens the data file (xml). Save As results in the  
> following in the terminal window:
> 
> dyld: lazy symbol binding failed: Symbol not found: _gnc_sql_init
>    Referenced from: /opt/gnucash-gda/lib/gnucash/libgncmod-backend- 
> dbi.so
>    Expected in: dynamic lookup
> 
> dyld: Symbol not found: _gnc_sql_init
>    Referenced from: /opt/gnucash-gda/lib/gnucash/libgncmod-backend- 
> dbi.so
>    Expected in: dynamic lookup
> 
> Trace/BPT trap
> 
> The crash log has very little more:
> 
> Process:         gnucash-bin [960]
> Path:            /opt/gnucash-gda/bin/gnucash-bin
> Identifier:      gnucash-bin
> Version:         ??? (???)
> Code Type:       PPC (Native)
> Parent Process:  bash [31943]
> 
> Date/Time:       2008-06-13 00:54:44.218 -0400
> OS Version:      Mac OS X 10.5.3 (9D34)
> Report Version:  6
> 
> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
> Exception Codes: 0x0000000000000001, 0x000000008fe0105c
> Crashed Thread:  0
> 
> Dyld Error Message:
>    Symbol not found: _gnc_sql_init
>    Referenced from: /opt/gnucash-gda/lib/gnucash/libgncmod-backend- 
> dbi.so
>    Expected in: dynamic lookup

I don't know if it will affect anything, but I've just committed a few
small changes.  Now, all of the gnc_sql_xxx routines (e.g. gnc_sql_init)
will be in libgncmod-backend-sql.so.  libgncmod-backend-dbi.so is linked
with libgncmod-backend-sql.so, so I don't know what the problem is,
unless it is something mac-specific.

Phil



More information about the gnucash-devel mailing list