Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Installing libcrypto.so.4 from opensslHelpful Member! 

SysAdminMike (IS/IT--Management) (OP)
30 Oct 10 0:04
Hello,

I just installed openssl on my RHEL 5.5 box (not registered with RHN at the moment) and it did not install libcrypto.so.4 OR libssl.so.4.

My end goal is to get vsftpd installed, see below for my issue.

CODE

rpm -i vsftpd-2.0.1-5.EL4.5.x86_64.rpm
warning: vsftpd-2.0.1-5.EL4.5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 73307de6
error: Failed dependencies:
        libcrypto.so.4()(64bit) is needed by vsftpd-2.0.1-5.EL4.5.x86_64
        libssl.so.4()(64bit) is needed by vsftpd-2.0.1-5.EL4.5.x86_64

I downloaded the openssl source, ran

./configure
make
make test
make install

it all went well.  Any ideas on where I am going wrong?

Thanks,

Michael

Noway2 (Programmer)
30 Oct 10 9:34
It looks like you are missing a (source) library dependency that is required to compile the program.  There are a couple of ways to solve this but they really amount to the same thing: downloading the missing files and installing them first.  I don't use Ubuntu which has a different package manager, but I imagine that you could select the program of interest and that there is an option for "get dependencies".  There is probably a "build dependency" option in your command line package manager, and lastly if you find a package repository website, often times they will list the dependencies and you can recursively go through that list, download and install them.

Often times it is A LOT easier to get the program (binary) from the repositories instead of building from source.  Unless there is a feature set or something that you require that isn't in the package version, you should consider going that route.
 
Helpful Member!  BadBigBen (MIS)
31 Oct 10 10:29
I am not sure if RHEL 5.5 has YUM installed (I use SuSE 11.3 at present), but from what I am reading all you would have to do is issue the following command from a root shell:

yum install openssl100a


or if you prefer the manual way, go to the following website and download the correct rpm file...

http://www.rpmfind.net/linux/rpm2html/search.php?query=openssl

PS: RHEL = Fedora when it comes to RPM from what I read...


 

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

SysAdminMike (IS/IT--Management) (OP)
31 Oct 10 10:33

CODE

rpm -i openssl-1.0.0a-3.fc15.x86_64.rpm
error: Failed dependencies:
        ca-certificates >= 2008-5 is needed by openssl-1.0.0a-3.fc15.x86_64
        libc.so.6(GLIBC_2.7)(64bit) is needed by openssl-1.0.0a-3.fc15.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by openssl-1.0.0a-3.fc15.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by openssl-1.0.0a-3.fc15.x86_64

 

Thanks,

Michael

BadBigBen (MIS)
31 Oct 10 11:00
have you tried it over the YUM package manager?

go to http://centos.karan.org/ there are instructions on how to add it to the YUM repo list... then attempt to install using YUM...

yum's default behavior is to install dependencies along with the package that you are attempting to install...
 

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

SysAdminMike (IS/IT--Management) (OP)
31 Oct 10 11:06
ok,

I ran the following step

Quote:

Installation - Misc Packages rebuild Repository
On CentOS 4 and CentOS 5 ( yum version 2.2 and higher ) : Download file : kbsingh-CentOS-Misc.repo and save it in /etc/yum.repos.d/

If you want to track updates using the up2date-applet or use the up2date package manager, add this line to /etc/sysconfig/rhn/sources

      yum kb-centos-misc http://centos.karan.org/el4/misc/stable/$ARCH/RPMS

then I tried

CODE

yum install openssl100a
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
http://centos.karan.org/el5Server/extras/stable/x86_64/RPMS/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: kbs-CentOS-Extras. Please verify its path and try again
[root@bm-custom-es yum.repos.d]# yum install openssl    

so I tried

Quote:

RPM Packages for CentOS-4 and CentOS-5
The aim of this repository is to provide an easy way to access rpm's originally built for related projects, but not available to run on CentOS without a rebuild.

Report all bugs and issues to me via email at kbsingh {at} karan {d0t} org. You can contact me either via email, or over ICQ. My UIN is 2522219. If you have any package requests, feel free to drop me an email.

There are two repositories hosted here, the Fedora Extras rebuilt for CentOS and the Misc pkg. The Misc pkg tree includes various rpms that I have built from source or src.rpm rebuilds. There might be pkgs there that will overwrite / replace core pkgs included in CentOS. To use the Misc Pkgs repository, you will need the FExtras repo enabled as well, some of the dependencies are resolved there.

Installation - Fedora Extras rebuild Repository
On CentOS 4 and CentOS 5 ( yum version 2.2 and higher ) : Download file : kbsingh-CentOS-Extras.repo and save it in /etc/yum.repos.d/

If you want to track updates using the up2date-applet or use the up2date package manager, add this line to /etc/sysconfig/rhn/sources

   yum kb-centos-extras http://centos.karan.org/el4/extras/stable/$ARCH/RPMS

Installation - Misc Packages rebuild Repository
On CentOS 4 and CentOS 5 ( yum version 2.2 and higher ) : Download file : kbsingh-CentOS-Misc.repo and save it in /etc/yum.repos.d/

If you want to track updates using the up2date-applet or use the up2date package manager, add this line to /etc/sysconfig/rhn/sources

      yum kb-centos-misc http://centos.karan.org/el4/misc/stable/$ARCH/RPMS

GPG key
The GPG key used to sign packages in this repository can installed by running  ( as root )

    rpm --import http://centos.karan.org/RPM-GPG-KEY-karan.org.txt

Notes :
1. At this moment, yum and up2date are the only supported clients. If there is any real interest in other package managers ( apt etc ), I might include support for those at a future date.

2. Not all packages in each upstream repository build clean, and the build process is an ongoing thing. Therefore, you might find that not all packages from upstream are available here.

3. Source RPMS that are output from my build process are made available ( signed with the same gpg key ) in the SRPMS directory, along with the build logs and debug info output from the same build process.

And I got the same error.

Thanks,

Michael

BadBigBen (MIS)
31 Oct 10 11:32
bummer with the YUM repo... hmmm...


as to the errors installing the RPM package, the last two errors indicate that the RPM was created with a much newer RPM packager then is installed on your system. thus I would attempt to install an older version of OpenSSL such as 0.9.7 first...

GLIB error (libc.so.6) should be part of your install already, but not at the version 2.7...

for the root certificate error, the following should help you there:

http://ftp.engardelinux.org/pub/engarde/people/dave/devel/x86_64/ca-certificates-2009-2.noarch.rpm
 

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

SysAdminMike (IS/IT--Management) (OP)
31 Oct 10 11:39
rpm just hangs, does not install...

Thanks,

Michael

BadBigBen (MIS)
3 Nov 10 6:47
Try the -UHv attributes instead of -i when installing through RPM...

other than that, seeing that this is a fresh install, why not do a clean install again, and this time make sure that GCC and OpenSSL are added at install time...

or switch over to CentOS, since the repos work there...

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

SysAdminMike (IS/IT--Management) (OP)
3 Nov 10 10:18
actually got this working with -config --help which gave me the needed flags.

Thanks though.

Thanks,

Michael

BadBigBen (MIS)
3 Nov 10 18:45
glad to hear that you got it running...

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close