I'm currently writing a client program on Linux Ubuntu 16.04. I want to use OpenSSL to secure communication. But I get this error when I use gcc to complie my source code:
$gcc -o client1 client.c -lssl -lcrypto
"undefined reference to "TLSv1_3_client method"
The version of my OpenSSL is 1.1.1d:
How can I solve this ?