Just purchased the commercial version for iOS and I do not have the libcrypto.a binary

132 views
Skip to first unread message

Tom Dornseif

unread,
Jun 29, 2012, 3:41:19 PM6/29/12
to sqlc...@googlegroups.com
In the short tutorial it shows it in the screen shot.  But it is absent from mine.


Stephen Lombardo

unread,
Jun 29, 2012, 3:54:00 PM6/29/12
to sqlc...@googlegroups.com
Hi Tom,

Sorry for the confusion. In the latest version of the binary package OpenSSL is actually included directly in the libsqlcipher.a static library. This was a recent improvement designed to make setup even simpler, as it avoids the need to include multiple libraries. Unfortunately, the screenshot on the tutorial was dated. I've just updated the tutorial screenshot to remove the reference to libcrypto.a, since it's no longer required.

Please let us know if you have any trouble getting it working with your project, and thanks for bringing this to our attention.

Cheers,
Stephen

Tom Dornseif

unread,
Jun 29, 2012, 4:02:04 PM6/29/12
to sqlc...@googlegroups.com
Wow, Thanks for the immediate response.  I will let you know how it goes.

Tom Dornseif

unread,
Jun 29, 2012, 4:31:58 PM6/29/12
to sqlc...@googlegroups.com
I am getting the following building for sim

Undefined symbols for architecture i386:

  "_EVP_get_cipherbyname", referenced from:

      _sqlcipher_codec_ctx_set_cipher in libsqlcipher.a(sqlite3.o)

      _sqlcipher_activate in libsqlcipher.a(sqlite3.o)

  "_EVP_CIPHER_key_length", referenced from:

      _sqlcipher_codec_ctx_set_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CIPHER_iv_length", referenced from:

      _sqlcipher_codec_ctx_set_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CIPHER_block_size", referenced from:

      _sqlcipher_codec_ctx_set_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_sha1", referenced from:

      _sqlcipher_codec_ctx_set_cipher in libsqlcipher.a(sqlite3.o)

      _sqlcipher_page_hmac in libsqlcipher.a(sqlite3.o)

  "_EVP_MD_size", referenced from:

      _sqlcipher_codec_ctx_set_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CipherInit", referenced from:

      _sqlcipher_page_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CIPHER_CTX_set_padding", referenced from:

      _sqlcipher_page_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CipherUpdate", referenced from:

      _sqlcipher_page_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CipherFinal", referenced from:

      _sqlcipher_page_cipher in libsqlcipher.a(sqlite3.o)

  "_EVP_CIPHER_CTX_cleanup", referenced from:

      _sqlcipher_page_cipher in libsqlcipher.a(sqlite3.o)

  "_OPENSSL_add_all_algorithms_noconf", referenced from:

      _sqlcipher_activate in libsqlcipher.a(sqlite3.o)

  "_RAND_bytes", referenced from:

      _sqlcipher_random in libsqlcipher.a(sqlite3.o)

  "_HMAC_CTX_init", referenced from:

      _sqlcipher_page_hmac in libsqlcipher.a(sqlite3.o)

  "_HMAC_Init_ex", referenced from:

      _sqlcipher_page_hmac in libsqlcipher.a(sqlite3.o)

  "_HMAC_Update", referenced from:

      _sqlcipher_page_hmac in libsqlcipher.a(sqlite3.o)

  "_HMAC_Final", referenced from:

      _sqlcipher_page_hmac in libsqlcipher.a(sqlite3.o)

  "_HMAC_CTX_cleanup", referenced from:

      _sqlcipher_page_hmac in libsqlcipher.a(sqlite3.o)

  "_PKCS5_PBKDF2_HMAC_SHA1", referenced from:

      _sqlcipher_cipher_ctx_key_derive in libsqlcipher.a(sqlite3.o)

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)


On Friday, June 29, 2012 3:41:19 PM UTC-4, Tom Dornseif wrote:

Stephen Lombardo

unread,
Jun 29, 2012, 5:28:08 PM6/29/12
to sqlc...@googlegroups.com
Hi Tom,

It sounds like this might be an application setup issue. We'll contact you off-list in a few moments.

Cheers,
Stephen

AKD

unread,
Aug 16, 2012, 4:33:14 AM8/16/12
to sqlc...@googlegroups.com
Hi Stephen,
I am getting the same error. i am not using commercial version. can you please tell me how to fix this problem?
Reply all
Reply to author
Forward
0 new messages