Here's my code:
#include <openssl/bio.h> int main (void) { BIO* bo = BIO_new(BIO_s_mem()); }
I'm compiling my code by doing gcc -lcrypto test.c.
gcc -lcrypto test.c
Any idea what's wrong?
You have the arguments in the wrong order, try gcc test.c -lcrypto
gcc test.c -lcrypto
See why order matters