trying to use the android sdk on centos 7 and cant seem to find the 32bit libs..
[jason@centos7 platform-tools]$ ./adb devices -bash: ./adb: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory [jason@centos7 platform-tools]$
whats the right way to isntall the needed 32bit libs? I cant seem to find them with yum provides.. Ive tried multilib_policy=best in my yum.conf as well.
Jason
[root@centos7 Packages]# yum install /lib/ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager This system is not registered with Subscription Management. You can use subscription-manager to register. epel/x86_64/metalink | 12 kB 00:00:00 ftp_repo | 3.6 kB 00:00:00 Loading mirror speeds from cached hostfile * epel: ftp.cse.buffalo.edu No package /lib/ld-linux.so.2 available. Error: Nothing to do
On 09/21/2015 12:44 PM, Gordon Messmer wrote:
yum install /lib/ld-linux.so.2
you need to use yum's "whatprovides" facility to find the package that has the ld-linux.so.2 library.
------------ Original Message ------------
Date: Monday, September 21, 2015 12:48:22 -0400 From: Jason Welsh jason.welsh@mercurygate.com
[root@centos7 Packages]# yum install /lib/ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager This system is not registered with Subscription Management. You can use subscription-manager to register. epel/x86_64/metalink | 12 kB 00:00:00 ftp_repo | 3.6 kB 00:00:00 Loading mirror speeds from cached hostfile
- epel: ftp.cse.buffalo.edu
No package /lib/ld-linux.so.2 available. Error: Nothing to do
On 09/21/2015 12:44 PM, Gordon Messmer wrote:
yum install /lib/ld-linux.so.2
------------ End Original Message ------------
yeah, that still doesnt work..
[jason@centos7 platform-tools]$ yum whatprovides /lib/ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Determining fastest mirrors * epel: archive.linux.duke.edu No matches found [jason@centos7 platform-tools]$ yum whatprovides ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Loading mirror speeds from cached hostfile * epel: archive.linux.duke.edu No matches found [jason@centos7 platform-tools]$ yum whatprovides */ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Loading mirror speeds from cached hostfile * epel: archive.linux.duke.edu No matches found [jason@centos7 platform-tools]$ yum whatprovides '*/ld-linux.so.2' Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Loading mirror speeds from cached hostfile * epel: archive.linux.duke.edu No matches found [jason@centos7 platform-tools]$ [jason@centos7 platform-tools]$ sudo yum provides */ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager This system is not registered with Subscription Management. You can use subscription-manager to register. Loading mirror speeds from cached hostfile * epel: ftp.cse.buffalo.edu No matches found [jason@centos7 platform-tools]$
seems like im missing the 32bit libs repo?
Jason
On 09/21/2015 12:56 PM, Richard wrote:
you need to use yum's "whatprovides" facility to find the package that has the ld-linux.so.2 library.
Do you have the standard centos repos disabled? I'm only seeing EPEL in your output. What you need is in the centos base repo.
With the centos base repo enabled, Gordon's command would have worked too -- I just always figure out the exact package(s).
yum whatprovides /lib/ld-linux.so.2
glibc-2.17-78.el7.i686 : The GNU libc libraries Repo : base Matched from: Filename : /lib/ld-linux.so.2
------------ Original Message ------------
Date: Monday, September 21, 2015 13:03:58 -0400 From: Jason Welsh jason.welsh@mercurygate.com Subject: Re: [CentOS] android sdk on centos7 64-bit.
yeah, that still doesnt work..
[jason@centos7 platform-tools]$ yum whatprovides /lib/ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Determining fastest mirrors
- epel: archive.linux.duke.edu
No matches found [jason@centos7 platform-tools]$ yum whatprovides ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Loading mirror speeds from cached hostfile
- epel: archive.linux.duke.edu
No matches found [jason@centos7 platform-tools]$ yum whatprovides */ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Loading mirror speeds from cached hostfile
- epel: archive.linux.duke.edu
No matches found [jason@centos7 platform-tools]$ yum whatprovides '*/ld-linux.so.2' Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Loading mirror speeds from cached hostfile
- epel: archive.linux.duke.edu
No matches found [jason@centos7 platform-tools]$ [jason@centos7 platform-tools]$ sudo yum provides */ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager This system is not registered with Subscription Management. You can use subscription-manager to register. Loading mirror speeds from cached hostfile
- epel: ftp.cse.buffalo.edu
No matches found [jason@centos7 platform-tools]$
seems like im missing the 32bit libs repo?
Jason
On 09/21/2015 12:56 PM, Richard wrote:
you need to use yum's "whatprovides" facility to find the package that has the ld-linux.so.2 library.
------------ End Original Message ------------
On Mon, 21 Sep 2015 13:03:58 -0400 Jason Welsh wrote:
This system is not registered with Subscription Management. You can use subscription-manager to register.
You either aren't using Centos, or you have something really screwed up with your yum repos.
you are correct sir.. something is screwed up!
I remember running into a problem with the base repo enabled and swept it under the rug by disabling it for the moment and then forgot all about disabling it.. So when I enable the base repo, and run yum with debug flag, I see the following:
Setting up Package Sacks http://mirror.centos.org/centos/%24releasever/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror.
now where does centos get this variable from that's getting messed up?
thanks/regards, Jason
On 09/21/2015 01:22 PM, Frank Cox wrote:
You either aren't using Centos, or you have something really screwed up with your yum repos.
Is this really a centos-7 install? The message "This system is not registered with Subscription Management." that you got from yum is something you'd get from an unregistered RHEL system I believe. Also, the yum plugins "product-id, subscription-manager" aren't standard with a centos install.
What does a "cat" of /etc/system-release show?
------------ Original Message ------------
Date: Monday, September 21, 2015 13:48:07 -0400 From: Jason Welsh jason.welsh@mercurygate.com Subject: Re: [CentOS] android sdk on centos7 64-bit.
you are correct sir.. something is screwed up!
I remember running into a problem with the base repo enabled and swept it under the rug by disabling it for the moment and then forgot all about disabling it.. So when I enable the base repo, and run yum with debug flag, I see the following:
Setting up Package Sacks http://mirror.centos.org/centos/%24releasever/os/x86_64/repodata/r epomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror.
now where does centos get this variable from that's getting messed up?
thanks/regards, Jason
On 09/21/2015 01:22 PM, Frank Cox wrote:
You either aren't using Centos, or you have something really screwed up with your yum repos.
------------ End Original Message ------------
On 09/21/2015 10:48 AM, Jason Welsh wrote:
http://mirror.centos.org/centos/%24releasever/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror.
now where does centos get this variable from that's getting messed up?
Weird. %24 is a URL-encoded representation of '$', which is what would normally be in that position. Look closely at the baseurl definition in [base].
It's normally commented out in favor of the mirrorlist, anyway:
[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... =os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ ...
aha! this is why..
[root@centos7 yum.repos.d]# rpm -qf /etc/centos-release file /etc/centos-release is not owned by any package
not sure how it got that way, but after a reinstall of centos-release-7-1.1503.el7.centos.2.8.x86_64.rpm my system is happy again.
thanks/regards, Jason