Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-04-2004, 01:06 AM   #1
Registered: Apr 2004
Posts: 30

Rep: Reputation: 15

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.
Old 06-04-2004, 01:17 AM   #2
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
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.
Old 06-04-2004, 02:36 PM   #3
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Openssl velan Programming 1 05-16-2005 01:28 AM
OpenSSL Chiel Linux - Newbie 1 09-03-2004 05:52 PM
OpenSSL 0.9.6k kojiroh Solaris / OpenSolaris 2 10-09-2003 11:51 AM
openSSL again ArchNGEL Linux - General 1 06-05-2003 11:03 PM
openssl sailaw Linux - General 1 01-25-2003 04:29 AM > Forums > Linux Forums > Linux - Security

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration