How to compile sqlicipher in linux(x86_64 x86_64 GNU/Linux) for armv7


have download openssl in
and cipther code from
and compile openssl for libcrypto.a,
and then compile in linux type.
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/home/lr/guokai/rubin_workspace/cilfer/openssl/libcrypto.a"
sudo make
how can i compile the armv7 version ibcrypto.a and in linux


Hello @gkmbw - you would need to cross compile for that architecture. Cross compilation in general is a fairly complex topic and is outside the scope of our public support for SQLCipher community edition. However you should be able to find many general resources on the web on how to cross compile for arm.


thank you for your response, when i use link the libsqlcipher.a in my test project, and
when do the encrypt for db use SQLITE_HAS_CODEC will process error
sqlite3_step --> in this step return value 7 (out of memory)
i don’t know why this happen.
and when not do the encrypt function all thing is ok.