Build and install exqlite with sqlcipher into nerves rpi5 image.

Good morning

I’d like to install exqlite with encryption support. I’m trying to use sqlcipher with Livebook for Raspberry Pi 5.
The standard installation of exqlite with sqlcipher in Livebook on Raspberry Pi doesn’t work because the compiler is missing from the final image, and it’s no longer possible to install it in buildroot in the generated image.
I’m try to modifying the nerves_system_rpi5 base image to preinstall everything, and I’ve added sqlcipher to the dependencies in buildroot, but I can’t compile exqlite as a package.
So is there a way to compile exqlite with encryption support? thanks.

Hi @kionide,

exqlite should compile fine with Nerves. I’m referring the non-encrypted normal version of sqlite that it builds itself. If that doesn’t work, then something else is a problem.

I’d personally try to get sqlcipher to build similar to how sqlite builds with exqlite. I.e. for a first pass, fork exqlite and modify it to build sqlcipher instead by replacing sqlite3.c with the sqlcipher version of the file. However, if you have a custom system with sqlcipher already, then perhaps whatever is causing exqlite to not build is easier to fix.