Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-05-2016, 01:12 AM   #1
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 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, 05:39 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
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, 08:07 AM   #3
Senior Member
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,433
Blog Entries: 1

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
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, 01:30 AM   #4
LQ Newbie
Registered: May 2016
Posts: 2

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


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

All times are GMT -5. The time now is 03:24 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