Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Error on Windows7 #33

Open
hjw21century opened this issue Aug 9, 2018 · 2 comments
Open

Link Error on Windows7 #33

hjw21century opened this issue Aug 9, 2018 · 2 comments

Comments

@hjw21century
Copy link

sqlite3.obj : error LNK2019: unresolved external symbol HMAC_CTX_cleanup referenced in function sqlcipher_openssl_hmac
sqlite3.obj : error LNK2019: unresolved external symbol HMAC_Final referenced in function sqlcipher_openssl_hmac
sqlite3.obj : error LNK2019: unresolved external symbol HMAC_Update referenced in function sqlcipher_openssl_hmac
sqlite3.obj : error LNK2019: unresolved external symbol HMAC_Init_ex referenced in function sqlcipher_openssl_hmac
sqlite3.obj : error LNK2019: unresolved external symbol EVP_sha1 referenced in function sqlcipher_openssl_hmac
sqlite3.obj : error LNK2019: unresolved external symbol HMAC_CTX_init referenced in function sqlcipher_openssl_hmac
sqlite3.obj : error LNK2019: unresolved external symbol PKCS5_PBKDF2_HMAC_SHA1 referenced in function sqlcipher_openssl_
kdf
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_cleanup referenced in function sqlcipher_openssl_
cipher
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CipherFinal referenced in function sqlcipher_openssl_cipher
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CipherUpdate referenced in function sqlcipher_openssl_cipher

sqlite3.obj : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_set_padding referenced in function sqlcipher_open
ssl_cipher
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CipherInit referenced in function sqlcipher_openssl_cipher
sqlite3.obj : error LNK2019: unresolved external symbol EVP_get_cipherbyname referenced in function sqlcipher_openssl_se
t_cipher
sqlite3.obj : error LNK2019: unresolved external symbol OBJ_nid2sn referenced in function sqlcipher_openssl_get_cipher
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CIPHER_nid referenced in function sqlcipher_openssl_get_ciph
er
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CIPHER_key_length referenced in function sqlcipher_openssl_g
et_key_sz
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CIPHER_iv_length referenced in function sqlcipher_openssl_ge
t_iv_sz
sqlite3.obj : error LNK2019: unresolved external symbol EVP_CIPHER_block_size referenced in function sqlcipher_openssl_g
et_block_sz
sqlite3.obj : error LNK2019: unresolved external symbol EVP_MD_size referenced in function sqlcipher_openssl_get_hmac_sz

sqlite3.obj : error LNK2019: unresolved external symbol RAND_add referenced in function sqlcipher_openssl_add_random
sqlite3.obj : error LNK2019: unresolved external symbol RAND_bytes referenced in function sqlcipher_openssl_random
sqlite3.obj : error LNK2019: unresolved external symbol OPENSSL_add_all_algorithms_noconf referenced in function sqlciph
er_openssl_activate
sqlite3.obj : error LNK2019: unresolved external symbol EVP_cleanup referenced in function sqlcipher_openssl_deactivate
build\lib.win-amd64-2.7\pysqlcipher_sqlite.pyd : fatal error LNK1120: 23 unresolved externals
error: command 'C:\Users\hw\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\
link.exe' failed with exit status 1120

@hjw21century hjw21century changed the title Compile Error on Link Error on Windows7 Aug 9, 2018
@hjw21century
Copy link
Author

hjw21century commented Aug 9, 2018

I have added as below:
#pragma comment(lib,"libeay32.lib")
#pragma comment(lib,"ssleay32.lib")
But that does not work...

@Xuepaopao
Copy link

@hjw21century Have you solved the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants