[openssl-users] compile error
Song Geng
soul.great at me.com
Thu Jul 23 08:47:39 UTC 2015
Hi guys,
I am a novice about openssl. I encounter linker error when I try to compile evp demos which locate openssl/demos/evp.
My computer info is:
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
And I use both gcc and clang with command “cc -g -Wall -I../../include -lcrypto aesgcm.c" to compile the source code.
The error info shows:
Undefined symbols for architecture x86_64:
"_EVP_aes_256_gcm", referenced from:
_aes_gcm_encrypt in aesgcm-093314.o
_aes_gcm_decrypt in aesgcm-093314.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help me. I will be very appreciate.
Br, Great Soul
soul.great at me.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150723/1a685b3b/attachment-0001.html>
More information about the openssl-users
mailing list