[GNC-dev] Build Fail for GC 4.1 on Linux MInt 20

David Cousens davidcousens at bigpond.com
Sat Aug 1 00:15:20 EDT 2020


Has anyone had any problems building GC 4.1 on Linux (Mint 20 Ulyana)? Cmake completes without problems, but I am
getting multiple errors during the ninja build related to the database backend libraries:

libdbi: Failed to load driver: /usr/lib/x86_64-linux-gnu/dbd/libdbdmysql.so
wrote `/home/david/Applications/gnucash-4.1/build/lib/x86_64-linux-gnu/guile/3.0/site-
ccache/gnucash/deprecated/gnucash/report/payables.go'

The default versions on LM20 of libdbi and the libdbd modules are:
 dpkg -l | grep libdbi
ii  libdbd-mysql:amd64                                          0.9.0-8ubuntu1                      amd64        MySQL
database server driver for libdbi
ii  libdbd-pgsql:amd64                                          0.9.0-
8ubuntu1                      amd64        PostgreSQL database server driver for libdbi
ii  libdbd-sqlite3:amd64                                        0.9.0-
8ubuntu1                      amd64        SQLite3 
database driver for libdbi
ii  libdbi-dev                                                  0.9.0-5                             amd64        DB
Independent Abstraction Layer for C  -- development files
ii  libdbi1:amd64                                               0.9.0-5 

0.8.3 of the above are the required version in the dpkg -l | grep libdbi
ii  libdbd-mysql:amd64                                          0.9.0-8ubuntu1                      amd64        MySQL
database server driver for libdbi
ii  libdbd-pgsql:amd64                                          0.9.0-
8ubuntu1                      amd64        PostgreSQL database server driver for libdbi
ii  libdbd-sqlite3:amd64                                        0.9.0-
8ubuntu1                      amd64        SQLite3 
database driver for libdbi
ii  libdbi-dev                                                  0.9.0-5                             amd64        DB
Independent Abstraction Layer for C  -- development files
ii  libdbi1:amd64                                               0.9.0-5 


 dpkg -l | grep libdbi
ii  libdbd-mysql:amd64                                          0.9.0-8ubuntu1                      amd64        MySQL
database server driver for libdbi
ii  libdbd-pgsql:amd64                                          0.9.0-
8ubuntu1                      amd64        PostgreSQL database server driver for libdbi
ii  libdbd-sqlite3:amd64                                        0.9.0-
8ubuntu1                      amd64        SQLite3 
database driver for libdbi
ii  libdbi-dev                                                  0.9.0-5                             amd64        DB
Independent Abstraction Layer for C  -- development files
ii  libdbi1:amd64                                               0.9.0-5 

README.dependencies specifies v0.8.3 of the above libraries. Does anyone else have problems building with 0.9.0 or will
I have to revert?

Thanks 
David



More information about the gnucash-devel mailing list