gnucash-2.3.6 (and 2.3.5, BTW) pulls sqlite-2* (USE-flag 'sqlite') as a dependency, although it needs sqlite-3* (USE-flag 'sqlite3'). The needed patch for ebuild is attached.
Created attachment 205724 [details, diff] gnucash-2.3.6.diff
Thanks. Fixed
*** Bug 287164 has been marked as a duplicate of this bug. ***