Fedora Linux Support Community & Resources Center
  #1  
Old 21st January 2011, 01:02 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
linuxfedorafirefox
Having problems with failed dependencies in installing RPM

after my last post i was able to make my own RPM. but i have encounterd a problem. when i try to install the RPM i get the failed dependency error as below:
error: Failed dependencies:
libc.so.6(GLIBC_2.2.5)(64bit) is needed by npm-2.7.0-100.i686
libm.so.6(GLIBC_2.2.5)(64bit) is needed by npm-2.7.0-100.i686
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by npm-2.7.0-100.i686
librt.so.1(GLIBC_2.2.5)(64bit) is needed by npm-2.7.0-100.i686


However i have the latest glibc installed. i am using fc13-686 here is the output of rpm -qa |grep glibc
glibc-utils-2.12.2-1.i686
glibc-headers-2.12.2-1.i686
glibc-2.12.2-1.i686
glibc-common-2.12.2-1.i686
glibc-static-2.12.2-1.i686
glibc-devel-2.12.2-1.i686

i dont seem to understand y is it failing this dependency. where it should not. Let me tell you that my rpm is trying to install in the /opt directory and running rpmlint on it gives problems, it says this is not allowed, here is the output or rpmlint.
pm.i686: E: dir-or-file-in-opt /opt/tellabs/install/npm_2.7.0-100/bin/mb
npm.i686: E: dir-or-file-in-opt /opt/tellabs/install/npm_2.7.0-100/schema/wi_npm_common.xsd
npm.i686: E: dir-or-file-in-opt /opt/tellabs/install/npm_2.7.0-100/README
npm.i686: E: dir-or-file-in-opt /opt/tellabs/install/npm_2.7.0-100/bin/mps_admin
npm.i686: E: dir-or-file-in-opt /opt/tellabs/install/npm_2.7.0-100/cfg/file_format_dax.xml.sample
npm.i686: E: dir-or-file-in-opt /opt/tellabs/install/npm_2.7.0-100/bin/mpe


Should this be the cause of the failed dependency. i dont think so ,,kindly put me in the right direction
Reply With Quote
  #2  
Old 21st January 2011, 02:39 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxfirefox
Re: Having problems with failed dependencies in installing RPM

Looks to me like you are trying to install a 64 bit pre-compiled binary onto a 32 bit system. If that's the case, it's no wonder it can't find the 64 bit dependencies. The output of rpmlint would suggest to me that your %files section in the spec file needs some work.
Reply With Quote
  #3  
Old 23rd January 2011, 04:28 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
windows_7chrome
Re: Having problems with failed dependencies in installing RPM

as you can see from the output of rpm -qa i have the i686 version of glibc.. you can see the output.. but it still gives the error
Reply With Quote
  #4  
Old 23rd January 2011, 04:43 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Having problems with failed dependencies in installing RPM

Quote:
Originally Posted by auny87 View Post
as you can see from the output of rpm -qa i have the i686 version of glibc.. you can see the output.. but it still gives the error

So what! , the rpm wants 64 bit glibc
Reply With Quote
  #5  
Old 23rd January 2011, 04:53 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
windows_7chrome
Re: Having problems with failed dependencies in installing RPM

isnt glibc-2.12.2-1.i686 a 64bit glibc?
Reply With Quote
  #6  
Old 23rd January 2011, 04:56 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
linuxfirefox
Re: Having problems with failed dependencies in installing RPM

i686 is 32-bit. But...

If a package marked as "npm-2.7.0-100.i686" is asking for 64-bit dependencies, then the npm rpm is at the very least named improperly. An i686 rpm should only have 32-bit deps.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #7  
Old 23rd January 2011, 05:00 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
windows_7chrome
Re: Having problems with failed dependencies in installing RPM

so how wud the 64 bit glibc be named? and then what should be the name of the npm rpm?
Reply With Quote
  #8  
Old 23rd January 2011, 05:02 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Having problems with failed dependencies in installing RPM

Quote:
Originally Posted by auny87 View Post
so how wud the 64 bit glibc be named? and then what should be the name of the npm rpm?
glibc-2.12.2-1.x86_64
Reply With Quote
  #9  
Old 23rd January 2011, 05:05 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
windows_7chrome
Re: Having problems with failed dependencies in installing RPM

can anybody explain y i686 is 32 bit!! isnt i686 suppose to be a superset of x86_64?
Reply With Quote
  #10  
Old 23rd January 2011, 05:09 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
linuxfirefox
Re: Having problems with failed dependencies in installing RPM

Quote:
Originally Posted by auny87 View Post
and then what should be the name of the npm rpm?
The name of a particular rpm file isn't entirely important as far as the rpm program or yum are concerned. Sure, there is a standard for naming rpms, but the OS itself doesn't generally care. You can rename the rpm you built as kwyjibo.txt.doc.xlsx.pdf and the same thing will result: the rpm will still be trying to pull in 64-bit deps while ignoring your 32-bit glibc et al.

Are you trying for a 32-bit or 64-bit rpm?

---------- Post added at 11:09 AM ---------- Previous post was at 11:06 AM ----------

Quote:
Originally Posted by auny87 View Post
isnt i686 suppose to be a superset of x86_64?
No. Try a web search, frankly.

i386, i486, i586, and i686 are all microarchitectures (different implementations) of the x86 instruction set. But they are all 32-bit implementations.

x86_64 is a 64-bit extension to the x86 instruction set.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #11  
Old 23rd January 2011, 05:09 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
windows_7chrome
Re: Having problems with failed dependencies in installing RPM

basically i am trying to make my own rpm which should be a 64 bit rpm for npm. i was able to make this using rpmdevtools and rpmbuild. this is the rpm that i got.. now to test it , tried to install it on my system but i am stuck,,,what the issue here,,,shoudl i get the glibc_x86_64?
Reply With Quote
  #12  
Old 23rd January 2011, 05:23 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Having problems with failed dependencies in installing RPM

Quote:
Originally Posted by auny87 View Post
basically i am trying to make my own rpm which should be a 64 bit rpm for npm. i was able to make this using rpmdevtools and rpmbuild. this is the rpm that i got.. now to test it , tried to install it on my system but i am stuck,,,what the issue here,,,shoudl i get the glibc_x86_64?

So why try and test it on a 32 bit system?
Reply With Quote
  #13  
Old 23rd January 2011, 05:49 PM
auny87 Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
windows_7chrome
Re: Having problems with failed dependencies in installing RPM

it is the same system on which i built it
Reply With Quote
  #14  
Old 23rd January 2011, 05:57 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Having problems with failed dependencies in installing RPM

Quote:
Originally Posted by auny87 View Post
it is the same system on which i built it
Technically you didn't build anything (you never compiled the source code) and I suspect you are running a 32 bit O/S.

Post
Code:
uname -m
Reply With Quote
  #15  
Old 23rd January 2011, 07:15 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxfirefox
Re: Having problems with failed dependencies in installing RPM

From your other thread ....
Quote:
Originally Posted by auny87
i am new to building RPM packages. i am tyring to package a set of binary files in a tar ball. i donot want to include the sources in the RPM. the tar ball includes some binaries and some scripts. two of the binaries in the tarball are named mb and mpe. for the start i am only trying to install these two
here is my spec
I already pointed out your problem in that thread. You are packaging 64 bit pre-compiled binaries into an rpm package on your 32 bit operating system. When you try to install the package, it fails, because the binaries require 64 bit dependencies, which your 32 bit OS does not, and cannot, have.

Either get the source code for those binaries and compile them properly on your 32 bit system (to make them 32 bit compatible), or install a 64 bit version of Fedora.

Last edited by PabloTwo; 23rd January 2011 at 07:20 PM.
Reply With Quote
Reply

Tags
dependencies, failed, installing, problems, rpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
failed dependencies... minea_m17 Using Fedora 0 8th October 2008 03:05 PM
failed dependencies installing an RPM bane Using Fedora 2 7th March 2006 06:03 AM
aim Failed dependencies? derailed Using Fedora 5 5th January 2006 05:20 PM
Shown Failed Dependencies while installing Adobe Reader kalpana Using Fedora 4 5th October 2005 05:08 AM
installing centericq failed dependencies HadroLepton Using Fedora 3 8th January 2005 01:54 AM


Current GMT-time: 05:35 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat