LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-29-2003, 12:43 PM   #1
toddsassaman
LQ Newbie
 
Registered: Aug 2003
Location: Lambertville, NJ USA
Distribution: Red Hat 8.0
Posts: 3

Rep: Reputation: 0
Exclamation problem installing openssl packages


Hi. I need help installing the latest openssl packages.

Really my eventual goal is to upgrade php and other related packages. I'm getting messages that they need libraries called 'libcrypto.so.4' and 'libssl.so.4'. To that end, I'm attempting to upgrade openssl and getting the following seemingly contradictory error (the rpm file is in the current downloads directory):

[root@sparky downloads]# rpm -q openssl-0.9.6b-29.i386.rpm
package openssl-0.9.6b-29.i386.rpm is not installed
[root@sparky downloads]# rpm -i openssl-0.9.6b-29.i386.rpm
package openssl-0.9.6b-29 is already installed
file /lib/libcrypto.so.0.9.6b from install of openssl-0.9.6b-29 conflicts with file from package openssl096b-0.9.6b-3
file /lib/libssl.so.0.9.6b from install of openssl-0.9.6b-29 conflicts with file from package openssl096b-0.9.6b-3
file /lib/libcrypto.so.0.9.6b from install of openssl-0.9.6b-29 conflicts with file from package openssl-0.9.6b-29
file /lib/libssl.so.0.9.6b from install of openssl-0.9.6b-29 conflicts with file from package openssl-0.9.6b-29
file /usr/bin/openssl from install of openssl-0.9.6b-29 conflicts with file from package openssl-0.9.6b-29
file /usr/share/man/man1/asn1parse.1ssl.gz from install of openssl-0.9.6b-29 conflicts with file from package openssl-0.9.6b-29
file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.6b-29 conflicts with file from package openssl-0.9.6b-29

..plus lots of other man page entries

Any help is greatly appreciated.

Todd
 
Old 08-29-2003, 01:08 PM   #2
Quozl
LQ Newbie
 
Registered: Aug 2003
Location: Kingwood, TX, USA
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
That's because you're querying for the wrong package. As far as rpm is concerned, there is no such package as "openssl-0.9.6b-29.i386.rpm."
If you search for just "openssl" (rpm -q openssl), it will show you that it is indeed installed.

Couple things you could try,... making a link to the existing files as such:

cd /lib
ln -s libcrypto.so.0.9.6b libcrypto.so.4
ln -s libssl.so.0.9.6b libssl.so.4

... or upgrading to an even newer openssl package:

rpm -Uvh ftp://rpmfind.net/linux/rawhide/1.0/...7a-17.i386.rpm

At least one of these will solve this problem for you.
 
Old 09-07-2003, 12:32 PM   #3
toddsassaman
LQ Newbie
 
Registered: Aug 2003
Location: Lambertville, NJ USA
Distribution: Red Hat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks

Got everything working. I installed a newer OpenSSL package

Thanks for your help.
 
Old 09-07-2003, 02:27 PM   #4
toddsassaman
LQ Newbie
 
Registered: Aug 2003
Location: Lambertville, NJ USA
Distribution: Red Hat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Question Spoke too soon...

It seemed to work for a while, but after I installed the PHP packages I was intending to install, I attempted to restart apache and got the following error messages, which lead me to believe something didn't work with the SSL upgrade.

[root@sparky downloads]# rpm -i php-4.2.2-17.i386.rpm
[root@sparky downloads]# cd /etc/rc.d/init.d
[root@sparky init.d]# ./httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /lib/libssl.so.4: undefin
ed symbol: krb5_cc_get_principal
[FAILED]
[root@sparky init.d]#

Any ideas?

Thanks in advance
 
Old 09-08-2003, 08:47 AM   #5
Quozl
LQ Newbie
 
Registered: Aug 2003
Location: Kingwood, TX, USA
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
Angry Hmmm.... that should've worked

Well, unfortunately, all I can say is that it should've worked. What that error message is saying is that /lib/libssl.so.4 doesn't fulfill all the requirements it claims. By any chance, is that symbolic link still pointing to the old library file?

ls -lF /lib/libssl.so.4

If it is, point it to the new one:

cd /lib
ln -s libssl.so.0.9.7a libssl.so.4
ln -s libcrypto.so.0.9.7a libcrypto.so.4
 
  


Reply



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
Problem downloading and installing required packages gajaykrishnan Debian 1 11-01-2005 11:10 PM
Problem downloading and installing required packages gajaykrishnan Debian 2 11-01-2005 10:50 PM
Problem when installing packages on Suse 9.3 danikdj SUSE / openSUSE 3 10-14-2005 01:09 PM
BIG installing new packages problem /home/kyle Linux - Software 1 03-11-2004 08:54 AM
Problem installing packages linuxfond Linux - Newbie 5 02-21-2003 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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