-   Linux - Security (
-   -   openssl (

abdullahgee 06-04-2004 12:06 AM

openssl problem

Dear fellows!

i was using /usr/include/openssl/md5.h file in my c code on linux 7.2
i.e #include<openssl/md5.h>

now i have installed linux 7.3, now could not found the openssl folder in

also i was using compilation command
i.e. gcc test.c -lcrypto -lssl -o test

now i got error when i use this command

error> not found -lcrypto
not found -lssl

it is amaizing that these things were ok in linux 7.2 but not working in linux 7.3

please help me how to get back openssl folder in my /usr/include
and also where these -lcrypto and -lssl went when i switched from
linux 7.2 to linux 7.3

someone told me to install openssl-0.9.6/7.tar.gz but still my problem has not been solved

i will be very thank full to you.
Thank you in anticipation.

kbcnetau 06-04-2004 12:17 AM

If you installed openssl from the SuSE rpm, you would need to install openssl-devel as well to have the files you require.

If you have installed from source and accepted the defaults, you may have found that files have gone to /usr/local/include or somewhere else.

You could:
cd /
find . -name md5.h -print find where the file is on your system, if anywhere.

DavidPhillips 06-04-2004 01:36 PM

I assume Linux 7.3 means RedHat. I have a stock RedHat 7.3 system and here is what you should have..

[david@www david]$ locate include/openssl

All times are GMT -5. The time now is 12:43 AM.