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

have download openssl in https://github.com/openssl/openssl.git
and cipther code from https://github.com/sqlcipher/sqlcipher.git
and compile openssl for libcrypto.a,
and then compile libsqlcipher.so 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 libsqlcipher.so 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_prepare_v2
sqlite3_step --> in this step return value 7 (out of memory)
sqlite3_finalize
i don’t know why this happen.
and when not do the encrypt function all thing is ok.