I\'m trying to use openssl in a gcc program but it isn\'t working.
g++ server.cpp /usr/lib/libssl.a -o server
gives an error message, as d
On top of the accepted answers, I could not make compile the OpenSSL example for AES-CCM:
https://github.com/openssl/openssl/blob/master/demos/evp/aesccm.c
To make it work I needed to add two more things:
-ldl-pthread (Adding directly the library with -lpthread is not recommended )