Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533652 - dev-util/android-studio - missing 32bit deps
Summary: dev-util/android-studio - missing 32bit deps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
: 543124 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-27 02:08 UTC by Thomas Crescenzi
Modified: 2015-03-25 04:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Crescenzi 2014-12-27 02:08:31 UTC
The binaries packaged in the Android Studio distribution (these get downloaded to your home directory upon first running Android Studio) are all 32-bit and depend on having a 32-bit libc installed. On a pure 64-bit system without multilib, the IDE will actually start, but you run into error after error because none of the tools will run.
Comment 1 Jason Zaman gentoo-dev 2015-02-27 10:51:30 UTC
Hi,

Do you mean ADB and those tools? how are you installing them? emerge dev-util/android-tools dev-util/android-sdk-update-manager? or just grabbed the sdk stuff manually off the android site?


The binaries that are included with android-studio have both 64bit and 32bit versions:

$ file $(qlist -C android-studio | grep "bin/\|linux/") | grep ELF
/opt/android-studio/bin/fsnotifier64:                   ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=2fc672c2bbc5daf30aed0d59a32bcb21dca5469d, not stripped
/opt/android-studio/bin/libbreakgen64.so:               ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=48748b6a8270789facec40da23d042169b08849d, not stripped
/opt/android-studio/bin/fsnotifier:                     ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=bd4cfcdf5321437c8834be05e9ddadcc7256b70c, not stripped
/opt/android-studio/bin/libbreakgen.so:                 ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
/opt/android-studio/lib/libpty/linux/x86/libpty.so:     ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=78b6ea268c9d7463247ac50b5d5c6f4ac71c32f9, not stripped
/opt/android-studio/lib/libpty/linux/x86_64/libpty.so:  ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=a39e3c5711f9a71036cb489f94c8bc84d07060f2, not stripped
Comment 2 Jason Zaman gentoo-dev 2015-03-24 09:54:03 UTC
*** Bug 543124 has been marked as a duplicate of this bug. ***
Comment 3 Jason Zaman gentoo-dev 2015-03-24 09:56:11 UTC
android-studio-1.1.0.135.1740770-r1 has been added with the 32bit deps, and i masked android-studio on the no-multilib profile since it wont work. In the future hopefully they have the sdk in both 64bit and 32bit then we can look into making it work on no-multilib.