LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-03-2007, 05:20 PM   #1
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Rep: Reputation: 15
Problems installing programs.


I often have problems installing programs because I don't have all the libraries like the once below. Where am I able to get all these libraries? Whats the easiest way to get around this? Why do I often get this problem?

[root@localhost src]# rpm -Uvh perl-Tk-804.027-3.2.el4.rf.x86_64.rpm
warning: perl-Tk-804.027-3.2.el4.rf.x86_64.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libX11.so.6()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libXft.so.2()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libc.so.6()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libfontconfig.so.1()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libjpeg.so.62()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libm.so.6()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libnsl.so.1()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libpng12.so.0()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64
libz.so.1()(64bit) is needed by perl-Tk-804.027-3.2.el4.rf.x86_64

Last edited by LinuxCrazy; 07-03-2007 at 05:21 PM.
 
Old 07-03-2007, 05:39 PM   #2
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
What distro are you using? Most have some kind of package manager that can figure out what dependencies are needed and install them from some online repository. To give you more help we need to know what you're using.
 
Old 07-03-2007, 05:58 PM   #3
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mcmillan
What distro are you using? Most have some kind of package manager that can figure out what dependencies are needed and install them from some online repository. To give you more help we need to know what you're using.
I use centos 4.5
 
Old 07-03-2007, 07:13 PM   #4
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
you can use yum,

http://sial.org/howto/yum/
 
Old 07-04-2007, 01:13 PM   #5
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kcorupe
there are a lot of programs that yum will not install

including perl tk

when doing yum list | grep perl-Tk
no results are found



[root@localhost ~]# yum list | grep perl
perl.i386 3:5.8.5-36.RHEL4 installed
perl-DBI.i386 1.40-8 installed
perl-Filter.i386 1.30-6 installed
ImageMagick-perl.i386 6.0.7.1-17 base
groff-perl.i386 1.18.1.1-3.EL4 base
mod_perl.i386 1.99_16-4.5 update
mod_perl-devel.i386 1.99_16-4.5 update
net-snmp-perl.i386 5.1.2-11.EL4.10 base
newt-perl.i386 1.08-7 base
openssl-perl.i386 0.9.7a-43.16 base
openssl-perl.i586 0.9.7a-43.16 base
perl-Bit-Vector.i386 6.3-3 base
perl-Convert-ASN1.noarch 0.18-3 base
perl-Crypt-SSLeay.i386 0.51-5 base
perl-Cyrus.i386 2.2.12-8.1.RHEL4 base
perl-DBD-MySQL.i386 2.9004-3.1.centos4 update
perl-DBD-Pg.i386 1.31-6 base
perl-Date-Calc.i386 5.3-9 base
perl-DateManip.noarch 5.42a-3 base
perl-Digest-HMAC.noarch 1.01-13 base
perl-Digest-SHA1.i386 2.07-5 base
perl-FCGI.i386 0.67-1.c4 extras
perl-Geo-IP.i386 1.28-1.el4.centos extras
perl-HTML-Parser.i386 3.35-6 base
perl-HTML-Tagset.noarch 3.03-30 base
perl-IO-Socket-SSL.noarch 1.01-1.c4 extras
perl-LDAP.noarch 0.31-5 base
perl-Mail-IMAPClient.noarch 2.2.9-1.rf extras
perl-Mail-POP3Client.noarch 2.17-1.c4 extras
perl-MailTools.noarch 1.74-1.c4 extras
perl-Net-DNS.i386 0.48-1 base
perl-Net-IMAP-Simple.noarch 1.16-1.c4 extras
perl-Net-IMAP-Simple-SSL.noarch 1.3-1.c4 extras
perl-Net-SSLeay.i386 1.25-3.rf extras
perl-Parse-Yapp.noarch 1.05-32 base
perl-SGMLSpm.noarch 1.03ii-14 base
perl-Time-HiRes.i386 1.55-3 base
perl-TimeDate.noarch 1.16-1.c4 extras
perl-URI.noarch 1.30-4 base
perl-XML-Dumper.noarch 0.71-2 base
perl-XML-Encoding.noarch 1.01-26 base
perl-XML-Grove.noarch 0.46alpha-27 base
perl-XML-LibXML.i386 1.58-1 base
perl-XML-LibXML-Common.i386 0.13-7 base
perl-XML-NamespaceSupport.noarch 1.08-6 base
perl-XML-Parser.i386 2.34-5 base
perl-XML-SAX.noarch 0.12-7 base
perl-XML-Twig.noarch 3.13-6 base
perl-libwww-perl.noarch 5.79-5 base
perl-libxml-enno.noarch 1.02-31 base
perl-libxml-perl.noarch 0.07-30 base
perl-suidperl.i386 3:5.8.5-36.RHEL4 base
subversion-perl.i386 1.1.4-2.ent base


perl tk is also not found
 
Old 07-08-2007, 07:30 PM   #6
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
did anyone have this problem before?
 
Old 07-08-2007, 07:51 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If the package isn't in the yum repositories you'll have to track its dependencies down by hand, unfortunately. In this case it looks like it needs 64 bit versions of some fairly common libraries. Are you running a 64 bit distribution? If not installing an x86_64 RPM is not going to work at all. What worries me is that it looks like the RPM is looking for both current and old versions of the C library (libc). Your system won't function without some sort of glibc installed, so this is a bit puzzling.

Can you post back and say whether or not you're running on an x86-64 machine? If so can you you do "rpm -qa | grep glibc"?
 
Old 07-09-2007, 12:44 PM   #8
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by btmiller
If the package isn't in the yum repositories you'll have to track its dependencies down by hand, unfortunately. In this case it looks like it needs 64 bit versions of some fairly common libraries. Are you running a 64 bit distribution? If not installing an x86_64 RPM is not going to work at all. What worries me is that it looks like the RPM is looking for both current and old versions of the C library (libc). Your system won't function without some sort of glibc installed, so this is a bit puzzling.

Can you post back and say whether or not you're running on an x86-64 machine? If so can you you do "rpm -qa | grep glibc"?
No, I am running a 32 bit system. That explains my problem. Sometimes I do install other software where I will be missing just 1 or 2 libraries. How do I track those down?
 
Old 07-09-2007, 12:58 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by LinuxCrazy
No, I am running a 32 bit system. That explains my problem. Sometimes I do install other software where I will be missing just 1 or 2 libraries. How do I track those down?
I have usually been able to find missing libraries by simply typing the full name in a Google search.
 
  


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
problems installing programs blackout8 Linux - Newbie 4 05-14-2007 09:16 PM
Problems with libraries when installing certain programs Style414 Debian 3 07-16-2006 06:39 PM
I'm having problems installing programs Ben84 Linux - Newbie 9 06-04-2005 08:16 PM
Problems installing programs in 10.1 rockonkenshin Mandriva 6 10-19-2004 03:08 AM
Problems installing programs vsj Linux - Software 6 02-23-2004 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:25 PM.

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