LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Openssl (https://www.linuxquestions.org/questions/programming-9/openssl-323881/)

velan 05-16-2005 12:10 AM

Openssl
 
I am writting a small hash program. I want to use the MD5, functions present in <openssl/md5.h>. I don't know how to compile my code after inluding these headers. When I include the MD5() function, it says "undefinied reference to MD5". What flags shud I use during compilation ?

Dark_Helmet 05-16-2005 12:28 AM

I would imagine you need to have "-lssl" or "-lopenssl" depending on the name of the library installed on your system.


All times are GMT -5. The time now is 07:25 PM.