LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

Rep: Reputation: 15
openssl


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
/usr/include

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
kbcnetau
Member
 
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

...to find where the file is on your system, if anywhere.
 
Old 06-04-2004, 02:36 PM   #3
DavidPhillips
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
/usr/include/openssl
/usr/include/openssl/asn1_mac.h
/usr/include/openssl/asn1.h
/usr/include/openssl/blowfish.h
/usr/include/openssl/bio.h
/usr/include/openssl/buffer.h
/usr/include/openssl/bn.h
/usr/include/openssl/conf_api.h
/usr/include/openssl/cast.h
/usr/include/openssl/comp.h
/usr/include/openssl/conf.h
/usr/include/openssl/opensslconf.h
/usr/include/openssl/crypto.h
/usr/include/openssl/des.h
/usr/include/openssl/dh.h
/usr/include/openssl/dsa.h
/usr/include/openssl/dso.h
/usr/include/openssl/e_os.h
/usr/include/openssl/e_os2.h
/usr/include/openssl/ebcdic.h
/usr/include/openssl/engine.h
/usr/include/openssl/err.h
/usr/include/openssl/evp.h
/usr/include/openssl/hmac.h
/usr/include/openssl/lhash.h
/usr/include/openssl/md2.h
/usr/include/openssl/md4.h
/usr/include/openssl/md5.h
/usr/include/openssl/obj_mac.h
/usr/include/openssl/objects.h
/usr/include/openssl/opensslv.h
/usr/include/openssl/pem.h
/usr/include/openssl/pem2.h
/usr/include/openssl/pkcs12.h
/usr/include/openssl/pkcs7.h
/usr/include/openssl/rand.h
/usr/include/openssl/rc2.h
/usr/include/openssl/rc4.h
/usr/include/openssl/ripemd.h
/usr/include/openssl/rsa.h
/usr/include/openssl/safestack.h
/usr/include/openssl/sha.h
/usr/include/openssl/ssl.h
/usr/include/openssl/ssl2.h
/usr/include/openssl/ssl23.h
/usr/include/openssl/ssl3.h
/usr/include/openssl/stack.h
/usr/include/openssl/symhacks.h
/usr/include/openssl/tls1.h
/usr/include/openssl/tmdiff.h
/usr/include/openssl/txt_db.h
/usr/include/openssl/x509.h
/usr/include/openssl/x509_vfy.h
/usr/include/openssl/x509v3.h
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

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