tonyho / galaxy-nexus-linux-toolkit

Automatically exported from code.google.com/p/galaxy-nexus-linux-toolkit
0 stars 0 forks source link

Script requires installation of 32-bit shared libs in x86_64 Linux distributions #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This script doesn't work properly in default installation of 64-bit Linux 
distribs (x86-64) because it runs 32-bit utilities (adb & fastboot from Android 
SDK Platform tools) what require 32-bit shared libs to run in x86-64 
environment.

Please add Linux architecure detection (uname -m) in your script. And if x86_64 
architecure detected than try to install 32-bit shared libraries or just notify 
user that he should install 32-bit shared libs with commands:

For Debian/Ubuntu Linux (x86_64):
sudo apt–get install lib32ncurses5 lib32stdc++6

For Fedora Linux (x86_64):
sudo yum install ncurses–libs.i686 libstdc++.i686 libgcc.i686

Original issue reported on code.google.com by mvgolu...@gmail.com on 7 Dec 2012 at 10:32

GoogleCodeExporter commented 8 years ago
Thanks. But I think the best way to solve this is building fastboot and adb for 
64 bits. Can you help me doing this??

Original comment by lucasfa...@gmail.com on 24 Dec 2012 at 9:13