By default, Fedora x86_64 distribution doesn’t come with a handy pacakge as Ubuntu does, ie. ia32-libs. In order to run 32-bit applications on a 64bit Fedora, you will have to figure out what libs are required and install them manually. Unfortunately, Android SDK is one of the 32-bit applications that I really want to run on my Fedora.
After spending some time googling around, the best result I could find is this link. Although it was written for Fedora11, many people reported that it is still working for Fedora 12. However, I don’t think we need that many 32-bit libs for Android SDK to function. Therefore, I went ahead, did some research and came up with the following list of libs required for Android SDK 2.0 on Fedora 12 x86_64.
alsa-lib.i686
audiofile.i686
directfb.i686
esound-libs.i686
expat.i686
freetype-freeworld.i686
glibc.i686
libdrm.i686
libgcc.i686
libjpeg.i686
libpng.i686
libselinux.i686
libstdc++.i686
libsysfs.i686
libv4l.i686
libvncserver.i686
libX11.i686
libXau.i686
libxcb.i686
libXdamage.i686
libXdmcp.i686
libXext.i686
libXfixes.i686
libXxf86vm.i686
lzo-minilzo.i686
mesa-dri-drivers.i686
mesa-libGL.i686
ncurses-libs.i686
nss-softokn-freebl.i686
SDL.i686
tslib.i686
zlib.i686
audiofile.i686
directfb.i686
esound-libs.i686
expat.i686
freetype-freeworld.i686
glibc.i686
libdrm.i686
libgcc.i686
libjpeg.i686
libpng.i686
libselinux.i686
libstdc++.i686
libsysfs.i686
libv4l.i686
libvncserver.i686
libX11.i686
libXau.i686
libxcb.i686
libXdamage.i686
libXdmcp.i686
libXext.i686
libXfixes.i686
libXxf86vm.i686
lzo-minilzo.i686
mesa-dri-drivers.i686
mesa-libGL.i686
ncurses-libs.i686
nss-softokn-freebl.i686
SDL.i686
tslib.i686
zlib.i686
You can save the libs into Fedora-ia32.txt and execute this command as root:
# yum install -y $(< Fedora-ia32.txt)
It works fine for me and hopefully it will work for you as well. 🙂
January 27, 2010 at 3:06 pm |
路过。。。。
March 11, 2012 at 4:11 am |
Thanks, this worked for Fedora16 as well
February 26, 2013 at 5:19 pm |
Thanks, this worked for Fedora17 as well
March 28, 2013 at 11:14 pm |
Works in Fedora18 – a few packages don’t exist anymore but the issue with the NDT was resolved. Thanks!
June 21, 2014 at 3:19 pm |
For centos 6.5 also