LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 06-16-2016, 04:23 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 795

Rep: Reputation: 39
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.
 
Old 06-16-2016, 05:56 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,414

Rep: Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589
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 )
 
Old 06-16-2016, 06:56 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 795

Original Poster
Rep: Reputation: 39
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
 
Old 06-16-2016, 07:45 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,414

Rep: Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589Reputation: 2589
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

Last edited by John VV; 06-16-2016 at 07:58 PM.
 
Old 06-17-2016, 06:16 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,139

Rep: Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504
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 ?


-
 
Old 06-17-2016, 07:36 AM   #6
kaplan71
Member
 
Registered: Nov 2003
Posts: 795

Original Poster
Rep: Reputation: 39
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX-64 bit: no mbschr in libc.a NevemTeve AIX 3 05-30-2015 01:20 AM
Can't find 32 bit libs to run 32 bit prog on 64 bit CentOS homer_3 Linux - Distributions 2 09-30-2013 09:45 PM
Problem installing 32-bit application on 64-bit CentOS jjscott Linux - Software 3 12-31-2012 01:55 PM
where to download libc.so.6 (GLIBC-2.4)-64-bit chasfgr Linux - Software 2 11-20-2011 01:37 AM
Problem with vncserver on centos 5.5 32-bit n3tn3ws_dot_net Linux - Software 1 03-05-2011 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration