LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2016, 12:12 AM   #1
p1ng54
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Openssl-devel libraries


Hi, I am new to linux platform and I was trying to implement tls using openssl libraries. I downloaded the tar file and did

$./config threads
$make depend
$make
$make test
$make install

Now when I write a small c code with header included and I try compiling it with

$gcc -o server-tls server-tls.c

It returns FATAL error: <openssl/bio.h> no such file or directory
 
Old 05-05-2016, 04:39 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,620

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
Welcome to LQ.

Fedora : # dnf install openssl-devel

Debian, Ubuntu : $ sudo apt-get update && sudo apt-get install libssl-dev
 
1 members found this post helpful.
Old 05-05-2016, 07:07 AM   #3
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,035

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Most Linux distros install their libraries in two halves. libfoo will contain the actual binary code of the foo library; this is all you need to run programs that use foo. To compile such programs from source, you also need the library headers, which come in a package called libfoo-dev (Debian family) or libfoo-devel (Fedora family). libfoo is often installed by default; libfoo-dev is not.
 
1 members found this post helpful.
Old 05-06-2016, 12:30 AM   #4
p1ng54
LQ Newbie
 
Registered: May 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the help @knudfl
Thank you for explanation @hazel
 
  


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 missed libraries. BIGNUM libraries! ChozN Programming 1 12-25-2011 02:38 PM
openssl-devel rajevar Linux - Newbie 2 08-30-2009 03:28 PM
Qt libraries not found during compile - but libqt3-devel and libqt4-devel installed! prasadbrg Mandriva 5 12-02-2008 05:58 AM
trying to install openssl-devel redhat_newb Red Hat 0 02-07-2006 12:49 PM
Openssl-devel, for Mandriva2006 katorrex Linux - Newbie 4 01-24-2006 11:22 AM


All times are GMT -5. The time now is 03:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration