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.