Closed jlcool closed 3 years ago
This issue comes from your plugin, github.com/jlcool/go-flutter-plugin-sqlcipher.
The docker image used to compile your app doesn't have the dependency to include <openssl/rand.h>
(read: https://github.com/xeodou/go-sqlcipher#linux to know which package to install)
Also read: https://github.com/go-flutter-desktop/go-flutter/issues/524
Download the source code of: https://github.com/go-flutter-desktop/hover Add the correct dependency to https://github.com/go-flutter-desktop/hover/blob/master/Dockerfile Run: https://github.com/go-flutter-desktop/hover/blob/master/install-with-docker-image.sh
@jlcool If you are interested in using sqlcipher in desktop you could use either sqflite_common_ffi or moor, both combined with a custom loading of the sqlcipher native library. That is what I'm doing on a go-flutter app myself.
Here is more information: With sqflite: https://github.com/davidmartos96/sqflite_sqlcipher/issues/28#issuecomment-733636725 With moor: https://github.com/simolus3/moor/issues/451#issuecomment-602062594
Hover doctor
Error output
Using
hover build windows --docker
to build my application, I get the following error: