Undefined reference to openssl functions when compiling with gcc in Ubuntu 11.10
Try to put -lssl
at the end (after test.c
).
$ gcc test.c -lssl -lcrypto
Try to put -lssl
at the end (after test.c
).
$ gcc test.c -lssl -lcrypto