LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   PAM 32-bit install on RHEL 6.2 - failed library dependencies (https://www.linuxquestions.org/questions/red-hat-31/pam-32-bit-install-on-rhel-6-2-failed-library-dependencies-4175422616/)

JackieP 08-17-2012 09:08 AM

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

John VV 08-17-2012 09:17 PM

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


JackieP 08-20-2012 08:00 AM

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

John VV 08-20-2012 04:19 PM

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

chrism01 08-21-2012 09:19 PM

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.


All times are GMT -5. The time now is 10:26 AM.