LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2007, 03:07 AM   #1
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 188

Rep: Reputation: 30
Install Software /usr/bin/ld: cannot find -lssl ERROR


Hi,

When compiling software.Asterisk 1.2.17 in particular i get the following error on FC6.
Code:
/usr/bin/ld: cannot find -lssl
I assume i'm needing some package,but some googling did not help me much.What package do I need to provide this?

Thanks
 
Old 07-04-2007, 03:25 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Try installing OpenSSL.
 
Old 07-04-2007, 04:05 AM   #3
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 188

Original Poster
Rep: Reputation: 30
Hi,thanks for the reply.Its not that
yum info openssl
Code:
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name   : openssl
Arch   : i686
Version: 0.9.8b
Release: 8.3.fc6
Size   : 3.2 M
Repo   : installed
Summary: The OpenSSL toolkit
So it is installed.Any other idea.Is this -lssl part of openssl.Would it normally be under /usr/bin/ld?
 
Old 07-04-2007, 05:07 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The answer you got is correct. Install openssl (and maybe openssl-devel) and that will resolve your problem. Openssl provides ssl libraries, which according to ther error messages you posted are the ones ld cannot find.
 
Old 07-04-2007, 05:30 AM   #5
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks,the openssl-devel packages installed what i needed.Thanks
 
Old 05-22-2013, 03:01 AM   #6
mandla_nib
LQ Newbie
 
Registered: Sep 2011
Location: India
Distribution: RHEL5.4
Posts: 2

Rep: Reputation: Disabled
Smile

Thanks, similar problem to me solved, by installing openssl-devel
 
Old 06-26-2015, 09:22 AM   #7
gitaarik
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
I got this error when trying to install the Python package `mysqlclient` on Ubuntu 14.04. This would normally work if you installed all required mysql packages, but I'm using the MariaDB variants now and I got this error. I couldn't find the `openssl-devel` package but did find a package `libssl-dev` (I guess they renamed it to that) and installing that resolved the error .
 
Old 06-27-2015, 02:28 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,643

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
gitaarik
i take it you did not notice that this thread is 8 YEARS OLD
from 2007

and you are using Ubuntu ( Debian camp)
and this thread is for the very OLD and very out of date Fedora-core 6 ( from 2007 )


fedora is a RPM based operating system

a type that YOU are NOT using



for Debian based OS's the DEVELOPMENT source code headers are in "openssl-dev.deb" files
and NOT in the redhat based "openssl-devel.rpm"

see the naming difference
-dev VS. -devel

Last edited by John VV; 06-27-2015 at 02:29 AM.
 
Old 06-28-2015, 07:09 AM   #9
gitaarik
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
True. I was getting the same error message and searching for it on the net didn't gave me very much helpful results. I found this topic however, and with the help of the information here I was able to resolve my problem. So it might be an old topic, the information in it still had value for me.

And I just want to share my particular resolution for this error in case anyone else gets into a similar situation. But maybe that's not really the way you want this forum to be used?

The package naming difference in RPM/Deb makes sense though, didn't think about that.
 
  


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
/usr/bin/ld: cannot find -lusb error?? Hyperion007 Linux - Newbie 5 07-25-2016 08:28 PM
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 04:28 AM
/usr/bin/ld: cannot find -lf2c ??? i don't know how to deal with this error close2me Programming 2 04-17-2007 09:16 PM
Compiling error /usr/bin/ld: cannot find -ltclstub84 OlRoy *BSD 7 01-26-2007 05:24 PM
error compiling cdrtools on kernel 2.6.0: /usr/bin/ld: cannot find -lscg qanopus Linux - Software 1 12-21-2003 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 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
Open Source Consulting | Domain Registration