LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   Problem with libc.so.6 in CentOS 7.2 64-bit distribution (https://www.linuxquestions.org/questions/centos-111/problem-with-libc-so-6-in-centos-7-2-64-bit-distribution-4175582446/)

kaplan71 06-16-2016 03:23 PM

Problem with libc.so.6 in CentOS 7.2 64-bit distribution
 
Hello --

We have a CentOS 7.2 64-bit installation set up, and I am in the process of installing a series of rpm packages. I am being stymied by a failed dependency error involving the libc.so.6 library.

The library is actually the libc-2.17.so file located in the /usr/lib64 directory, with libc.so.6 symbolic links pointing to that file situated in the /usr/lib and /usr/lib64 directories.

How can I get around the dependency problem?

Thanks.

John VV 06-16-2016 04:56 PM

1) what repos are installed ?
2) is "yum-priorites" installed and CONFIGURED ?
3) What is this UNKNOWN "rpms" ?
4) how are you installing this unknown rpm ?
rpm ?
yum?
what ?

5) what is this unknown error you are getting ?
6) what is the dependency needed ( the full error will inform you )

kaplan71 06-16-2016 05:56 PM

Hello --

Thank-you for your reply.

The yum.repos.d directory contains the following:

Quote:

CentOS-Base
CentOS-CR
CentOS-Debuginfo
CentOS-fasttrack
CentOS-Media
CentOS-Sources
CentOS-Vault
The yum.conf file has the following configuration:

Quote:

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
I do not have "yum-priorities" installed or configured. Can you provide information on this?

The rpm's in question are the following:

Quote:

gskcrypt64-8.0.14.11.linux.x86_64.rpm
gskssl64-8.0.14.11.linux.x86_64.rpm
TIVsm-API64.x86_64.rpm
TIVsm-BA.x86_64.rpm
The files are on an NFS filesystem that has been mounted on the server.

The command syntax that has been used to install the packages is the following:

Quote:

rpm -ivh TIVsm-BA.x86_64.rpm TIVsm-API64.x86_64.rpm gskssl64-8.0.14.11.linux.x86_64.rpm gskcrypt64-8.0.14.11.linux.x86_64.rpm
The error message that is displayed is as follows:

Quote:

warning: TIVsm-BA.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 61e37b37: NOKEY
error: Failed dependencies:
libc.so.6 is needed by TIVsm-BA-6.3.0-0.x86_64

John VV 06-16-2016 06:45 PM

CentOS-Vault

if you are actually installing OLD and out of date and unsupported software from that
you WILL HAVE PROBLEMS

to check what is and is not turned on
Code:

su -
yum repolist all


Quote:

I do not have "yum-priorities" installed or configured. Can you provide information on this?
the CentOS wiki
https://wiki.centos.org/AdditionalRe...s/Repositories

has a link to it
https://wiki.centos.org/PackageManag...Yum/Priorities

but if you are installing rpm's from the historical VAULT
( centos 7.0,7.1 ( or 6.?) ) you will have problems


as to using the rpm command

yum was invented to SOLVE the major problems using rpm
!!! dependencies !!!

rpm is normally used as a very last resort or for very specific things ( like Libreoffice)


Quote:

warning: TIVsm-BA.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 61e37b37: NOKEY
well did you install the signatures from this unknown repo that you got the rpm's from ?


Quote:

gskcrypt64-8.0.14.11.linux.x86_64.rpm
gskssl64-8.0.14.11.linux.x86_64.rpm
TIVsm-API64.x86_64.rpm
TIVsm-BA.x86_64.rpm
from where did you get these ?

-- i am guessing IBM
http://www.ibm.com/support/knowledge...x86client.html
http://www.ibm.com/support/knowledge...me_ssgsg7.html
and who packaged them ?
and for WHAT OS are they for ?
el5 ?
el6?
el7 ( centos 7.2 )

or
were these created for Fedora ? or suse?


and did you install the prerequsits ?
like "compat-libstdc++"
to get the very OLD libc

Code:

su -
yum search compat-libstdc++

then install using the correct name from the search ( should be 34 or 33 )


also see this guide from Cornell Univ.
http://www.it.cornell.edu/services/e...l-linux-71.cfm

knudfl 06-17-2016 05:16 AM

CentOS 7.2 : Please use yum for package install. Takes care of dependencies.

Code:

$ cd Downloads/
# yum install gskssl64-8.0-50.52.x86_64.rpm
# yum install gskcrypt64-8.0-50.52.x86_64.rpm
# yum install TIVsm-API64.7.1.4-1.x86_64.rpm
# yum install TIVsm-BA.7.1.4-1.x86_64.rpm

No errors here. You may have a corrupt OS ?


-

kaplan71 06-17-2016 06:36 AM

Hello --

I was able to solve the problem using the following command syntax:

Quote:

yum install gskssl* gskcrypt*
yum install TIVsm-API* TIVsm-BA*
Thanks for the help.


All times are GMT -5. The time now is 12:55 PM.