copy both of libcrypto.so.1.0.0 and its symbolic link named libcrypto.so to android-database-sqlcipher/external/android-libs/
cd android-database-sqlcipher
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
make
Where should I put all header files of the prebuilt libcrypto? My libcrypto.so.1.0.0 and all header files are in attachment.
Thanks
-- Nick Parker
-- Nick Parker
-- Nick Parker
no problem, i will get back to you when i am in office today.
thanks
jeffrey
I have added following and it seems to be working LOCAL_LDLIBS += -L../external/openssl/include/openssl/fips
and $(EXTERNAL_PATH)/openssl/include/openssl/fips \ to LOCAL_C_INCLUDES +
is this correct ?
Your fips openssl build has problem, follow the answer of brewphone in following link http://stackoverflow.com/questions/11091905/android-build-openssl-fips-2-0 to generate the libcrypto.a. With current sqlcipher release u need .a instead of .so. Lamchith M C <lamc...@gmail.com> wrote:
$ export CC=`find /usr/local/ssl/$ANDROID_API -name fipsld` $ echo $CC /usr/local/ssl/android-14/bin/fipsld $ export FIPSLD_CC="$ANDROID_TOOLCHAIN/arm-linux-androideabi-gcc" $ echo $FIPSLD_CC /opt/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc