Cake wallet on Bazzite Linux

I’m trying to setup Cake wallet on bazzite linux but i keep running into consistent SQLite FFI errors. i tried both flatpak and portable tar.xz version but after the installation it shows the same error and i can’t seem to find a fix.

Is there anything i should try or someone can help me?

What is the error exactly? That seems important to know.

1 Like

My issue may be similar to OP. I’m trying to upgrade my Flatpak version on CachyOS Linux. Here are some snippets from the log:

SqliteFfiException(error, Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/bindings.dart' : Failed to load dynamic library 'libsqlite3.so': Failed to load dynamic library 'libsqlite3.so': libsqlite3.so: cannot open shared object file: No such file or directory.)

I’m upgrading from a working instance of 6.2.0 to 6.3.0. I’m using Cake_Wallet_v6.3.0_Linux.flatpak

Well the problem is it can’t locate the shared objects. Are they missing in the flatpak or just somehow not on the search path?

Or it does find them but can’t load them for some obscure reason, like wrong cpu architecture but I doubt that’s the issue. It could be some new Linux protection blocking it.

1 Like

I’ll continue to troubleshoot a bit later. They do appear to be in the flatpak:

[09:34:34] jason@CachyOS-Desktop /home/jason/Apps/Cake_Wallet_v6.3.0_Linux/lib
> ls -la
drwxr-xr-x    - jason 25 Jul 17:36  .
drwxr-xr-x    - jason 25 Jul 17:36  ..
.rw-r--r--  33M jason 24 Jul 08:45  libapp.so
.rw-r--r--  23k jason 24 Jul 08:46  libbitbox_flutter_plugin.so
.rw-r--r--  23k jason 24 Jul 08:46  libdevicelocale_plugin.so
.rw-r--r-- 596k jason 24 Jul 08:45  libdnssec_proof.so
.rw-r--r--  43k jason 24 Jul 08:45  libfile_selector_linux_plugin.so
.rw-r--r--  43M jason 24 Jul 08:46  libflutter_linux_gtk.so
.rw-r--r--  19k jason 24 Jul 08:46  libflutter_local_authentication_plugin.so
.rw-r--r--  35M jason 24 Jul 08:46  libmonero_wallet2_api_c.so
.rw-r--r-- 1.7M jason 24 Jul 08:46  libsp_scanner.so
.rw-r--r-- 2.0M jason 24 Jul 08:45  libsqlite3_flutter_libs_plugin.so
.rw-r--r--  24k jason 24 Jul 08:46  liburl_launcher_linux_plugin.so
.rw-r--r--  19M jason 24 Jul 08:46  libwarp_api_ffi.so
.rw-r--r--  34M jason 24 Jul 08:46  libwownero_wallet2_api_c.so

cc. @omar, in case you may have further insights, or someone else from the team. (:dog_face:)