gcc compiler giving me error as
undefined reference to `EVP_bf_cbc’
I user command to compile as gcc -o CSHARE main.c
main.c includes call of function EVP_bf_cbc().
I have included openssl/evp.h
How can I link to the library where function like EVP_bf_cbc() is implemented.
you have to tell it which libs to link using ‘-l’, like this
gcc -lssl -lcrypto -o CSHARE main.cI think you might need both ‘-lssl’ and ‘-lcrypto’, not sure.
Colum