LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2012, 09:08 AM   #1
JackieP
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
PAM 32-bit install on RHEL 6.2 - failed library dependencies


Hi -

I am installing PAM 32 BIT on RHEL 6.2. The 64 bit packages -pam-1.1.1-10.el6_2.1.x86_64.rpm & pam-devel-1.1.1-10.el6_2.1.x86_64.rpm are already installed. 32 bit install fails due to missing libraries. See error msgs below. Troubleshooting:
1. Found missing libraries in /lib64
2. ran ldconfig -v
3. still can't install
4. created softlinks to missing libraries in /usr/lib and /lib directories
5. Still can't install

What am I missing?

Thanks in advance for your help.

J
------------------

# rpm -ivh pam-devel-1.1.1-10.el6_2.1.i686.rpm
warning: pam-devel-1.1.1-10.el6_2.1.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
libpam.so.0 is needed by pam-devel-1.1.1-10.el6_2.1.i686
libpam_misc.so.0 is needed by pam-devel-1.1.1-10.el6_2.1.i686
libpamc.so.0 is needed by pam-devel-1.1.1-10.el6_2.1.i686

-bash-4.1# rpm -ivh pam-1.1.1-10.el6_2.1.i686.rpm
warning: pam-1.1.1-10.el6_2.1.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
libaudit.so.1 is needed by pam-1.1.1-10.el6_2.1.i686
libcrack.so.2 is needed by pam-1.1.1-10.el6_2.1.i686
libdb-4.7.so is needed by pam-1.1.1-10.el6_2.1.i686
libselinux.so.1 is needed by pam-1.1.1-10.el6_2.1.i686
 
Old 08-17-2012, 09:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what are you missing
??
lets see
Quote:
rpm -ivh pam-devel-1.1.1-10.el6_2.1.i686.rpm
you do NOT install software on RHEL6 using RPM unless there is NO other option , and as THE VERY LAST resort

there is a REASON that "yum" is installed -- USE IT !
install the pam-devel from the RHN repo
Code:
su -
yum search pam 
---- then from that list --
yum install pam-devel
 
Old 08-20-2012, 08:00 AM   #3
JackieP
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi John,

Yes, I know to use YUM, I wish it was that simple. I tried yum first, but it doesn't work for me. This server has no access to the internet for direct downloads. It was loaded by the host service and they provide NO support other than to reimage from scratch. Also, internet access at this location is extremely limited. Can't download from rpmfind, for example - access is blocked.

I have downloaded the RHEL 6.2 disks, but these don't have the latest version of PAM. I need to know the prerequisite packages for

pam-1.1.1-10.el6_2.1.i686.rpm and pam-devel-1.1.1-10.el6_2.1.i686.rpm

Any assistance will be appreciated.

# yum search pam
=============================== N/S Matched: pam ===============================
fprintd-pam.x86_64 : PAM module for fingerprint authentication
pam-devel.x86_64 : Files needed for developing PAM-aware applications and
: modules for PAM
pam.x86_64 : An extensible library which provides authentication for
: applications
pam_passwdqc.x86_64 : Pluggable password quality-control module
passwd.x86_64 : An utility for setting or changing passwords using PAM

Name and summary matches only, use "search all" for everything.

# yum install pam-1.1.1-10.el6_2.1.i686.rpm
Setting up Install Process
Examining pam-1.1.1-10.el6_2.1.i686.rpm: pam-1.1.1-10.el6_2.1.i686
Marking pam-1.1.1-10.el6_2.1.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package pam.i686 0:1.1.1-10.el6_2.1 will be installed
--> Processing Dependency: libaudit.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libcrack.so.2 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libdb-4.7.so for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libselinux.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Finished Dependency Resolution
Error: Package: pam-1.1.1-10.el6_2.1.i686 (/pam-1.1.1-10.el6_2.1.i686)
Requires: libdb-4.7.so
Error: Package: pam-1.1.1-10.el6_2.1.i686 (/pam-1.1.1-10.el6_2.1.i686)
Requires: libaudit.so.1
Error: Package: pam-1.1.1-10.el6_2.1.i686 (/pam-1.1.1-10.el6_2.1.i686)
Requires: libcrack.so.2
Error: Package: pam-1.1.1-10.el6_2.1.i686 (/pam-1.1.1-10.el6_2.1.i686)
Requires: libselinux.so.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Thanks,

J

Last edited by JackieP; 08-20-2012 at 08:20 AM.
 
Old 08-20-2012, 04:19 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well you will then have to download and put on a disk EVERY one of those mising dependencies
AND EVERY dependency for the dependencies

a 1 min. operation is going to turn into a 3 week process

Quote:
-> Processing Dependency: libaudit.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libcrack.so.2 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libdb-4.7.so for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libselinux.so.1 for package: pam-1.1.1-10.el6_2.1.i686
you will have to also install all of these FIRST

but from your description of your hosting company
you are basically out of luck

Quote:
This server has no access to the internet for direct downloads
??? then what is it used for ? with no outside access

only a internal lan IN THE building that YOU are in
if so then you should have physical access ( but then you would be your own host)

call red hat tech support
RHEL6 is a OS that you MUST pay for a support contract for

they can direct you to the repo that you can then download the need prerequisites needed
so you can burn them to a disk

Last edited by John VV; 08-20-2012 at 04:20 PM.
 
Old 08-21-2012, 09:19 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If your system does not have internet access, I would create a local repo and populate it from the relevant isos; (you might want to get the 6.3 set), which you can get from the RH site.
https://code.google.com/p/iredmail/w...Yum_Repository & tweak the system to use those repos instead of trying to get to the net.
 
  


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
[SOLVED] Failed dependencies while installing Networker 7.6 on RHEL 6 garima721 Linux - Software 2 10-10-2011 02:33 AM
Install SVK on RHEL 4 - Failed dependencies error. nobitavn Linux - Software 4 10-11-2010 06:21 AM
Failed Dependencies when trying to install OpenOffice 3.2.1 on RHEL 5 akashj87 Linux - Software 2 06-23-2010 12:19 PM
cannot install Hobbit in Rhel 5, failed dependencies librrd.so ae14balt1c Linux - Newbie 1 04-29-2010 07:42 AM

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

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