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

John Ralls jralls at ceridwen.us
Sat Aug 1 13:06:06 EDT 2020



> On Jul 31, 2020, at 9:15 PM, David Cousens <davidcousens at bigpond.com> wrote:
> 
> 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?

Libdbi 0.9.0 has been out for almost 10 years and is what most distros have been shipping since. That's not the problem. More likely is that MySQL/MariaDB got upgraded and the libdbd-drivers didn't so libdbdmysql.so can't link libmysql.so.

Regards,
John Ralls



More information about the gnucash-devel mailing list