python-bindings partially broken Re: r20189 - gnucash/trunk/src/backend/dbi - Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale
John Ralls
jralls at ceridwen.us
Sun Jan 30 13:10:59 EST 2011
On Jan 30, 2011, at 9:50 AM, Christoph Holtermann wrote:
> Hello !
>> Heh. When I looked at gnc-ui-utils.c I found that it was an implementation of (a) with the stack, and that it's been there since at least 2001. So I cleaned it up a bit and used it in gnc-backend-dbi.c. (r20192)
>>
> This localization fix now has to be reflected in the python-bindings. They compile fine and work for xml as far as i
> see but execution of scripts breaks for mysql and sqlite3:
>
> python: symbol lookup error: /usr/lib/gnucash/libgncmod-backend-dbi.so: undefined symbol: gnc_push_locale
>
> I tried to change the Makefile and config.i but i didn't succeed. Maybe someone can help ?
Try adding $(top_builddir)/src/app-utils/libgncmod-app-utils.la to the libgncmod_backend_dbi_la_LIBADD at src/backends/dbi/Makefile.am line 37; that should probably replace r20192.
Regards,
John Ralls
More information about the gnucash-devel
mailing list