Android adb
failed to start after I installed the SDK. Running adb
from the command line reveals the error:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
I'm running 64-bit Fedora but Android adb
is looking for 32-bit Linux loader. This is resolved by installing the 32-bit libraries.
# yum whatprovides ld-linux.so.2 Loaded plugins: presto, refresh-packagekit glibc-2.12-1.i686 : The GNU libc libraries Repo : fedora Matched from: Other : ld-linux.so.2 glibc-2.12-3.i686 : The GNU libc libraries Repo : updates Matched from: Other : ld-linux.so.2 # yum install glibc-2.12-3.i686 Loaded plugins: presto, refresh-packagekit Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package glibc.i686 0:2.12-3 set to be updated --> Processing Dependency: libfreebl3.so for package: glibc-2.12-3.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-3.i686 --> Running transaction check ---> Package nss-softokn-freebl.i686 0:3.12.6-3.fc13 set to be updated ---> Package nss-softokn-freebl.x86_64 0:3.12.6-3.fc13 set to be updated --> Finished Dependency Resolution Dependencies Resolved ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: glibc i686 2.12-3 updates 4.3 M Installing for dependencies: nss-softokn-freebl i686 3.12.6-3.fc13 updates 112 k Updating for dependencies: nss-softokn-freebl x86_64 3.12.6-3.fc13 updates 118 k Transaction Summary ======================================================================================== Install 2 Package(s) Upgrade 1 Package(s) Total download size: 4.5 M Is this ok [y/N]:
I did the same for libncurses.so.5
and libstdc++.so.6
to resolve all dependencies.
原文链接: https://www.cnblogs.com/Jesuca/archive/2011/11/06/2238195.html
欢迎关注
微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍
原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/35871
非原创文章文中已经注明原地址,如有侵权,联系删除
关注公众号【高性能架构探索】,第一时间获取最新文章
转载文章受原作者版权保护。转载请注明原作者出处!