I am trying to run the latest version of the Android SDK on an RHEL6 box. I am getting errors that I need GLIBC 2.14. So I installed GLIBC 2.14 in /opt/glibc-2.14.
I have set the
LD_LIBRARY_PATH=/opt/glibc-2.14/lib. I can now run the Android SDK tool without getting prompted that GLIBC 2.14 is not installed. But when I try to run the Gradle build to build the Android APK it just hangs.
If I remove the
LD_LIBRARY_PATH the Gradle job runs and fails that GLIBC 2.14 is not installed. I also have the same hanging issue on running a command such as
java --version, when
LD_LIBRARY_PATH is set to GLIBC 2.14.
Is there a way to resolve this issue?