Posted on

Unable to run mksdcard SDK tool CentOS

Android Studio Banner

Installing the Android Studio on my CentOS 7 development system went fairly well once I loaded the latest Java JDK from the standard yum repository.   During the install wizard I did run into an issue with a generic “Unable to run mksdcard” error message.    This is the studios watered-down message from the actual command execution.   You can get more details by going to ~/Android/Sdk/tools and running mksdcard from the command line.

# cd ~/Android/Sdk/tools

# ./mksdcard

Here is where I found the compiled executable was missing some 32-bit libraries that are required to run the exe.

bash: ./mksdcard: /lib/ bad ELF interpreter: No such file or directory

A bit of digging and I found I needed glibc, which after another attempt to execute mksdcard told me I also needed  By using yum whatprovides I learned both packages I needed to install.   These additional installs helped get Android Studio up-and-running on CentOS 7.

# sudo yum install glibc.i686

# ./mksdcard
./mksdcard: error while loading shared libraries: cannot open shared object file: No such file or directory

# whatprovides

libstdc++-4.8.2-16.el7.i686 : GNU Standard C++ Library

libstdc++-4.8.2-16.el7.i686 : GNU Standard C++ Library

# sudo yum install libstdc++-4.8.2-16.2.el7_0.i68


With those couple of new libraries installed the Android Studio app is now running on my CentOS 7 development box with the MATE desktop UI.


Posted on

Update Git On CentOS 6.3

As of this writing, CentOS 6.3 has a default git version of 1.7.1-2.  This version is what you will have installed if you run the typical install command:

# yum install git

However, GitHub and many other services require git version 1.7.10 or higher. It turns out there is a very easy way to get git.  You need to do this from a privileged account, but then the process is simple.

Add RPM Forge to Yum Repos

# wget ''

# rpm --import

# rpm -i ''

# yum clean all

Install New Version from RPM Forge

# cd /etc/yum.repos.d
# vim (or whatever) rpmforge.repo

change the enabled=0 flag to enabled=1 in the section labelled [rpmforge-extras].

# yum  update
# yum provides git

This will return a longer list of available git modules.

Install the newer git by copying the FULL REPO NAME.   For example:

# yum install git- 
# git --version

You should have the new release installed.

Now go back and edit rpmforge.repo and disable the rpmforge-extras repository.  Then ensure the yum directory is cleaned up.

# yum update
Posted on

VMWare Mounting Windows Host Folder On CentOS Guest

VMWare WorkstationAfter a failed upgrade of VMWare-Tools on VMWare Workstation 7.1.5, I ended up with a shared folder that would not mount automatically. After a bit of digging on the Internet I found the solution.  Here are my brief notes on how to manually mount a shared Windows host folder.

  1. Make sure you have the host folder shared and always enabled or enabled until next power off.


    VMWare Share Folder
    VMWare Share Folder
  2. Run the vmware mount client:

    It will return the name of the shared host folder, it was named “Documents” in my case.

  3. Mount the host folder:
    mount -t vmhgfs .host:/Documents /mnt/hgfs

That’s it.  Hope that helps others that may have lost their auto-mounted windows host folders.