--- rvm-1.29.12.old/scripts/functions/detect/system +++ rvm-1.29.12/scripts/functions/detect/system @@ -102,7 +102,7 @@ _system_name="Termux" _system_version="$(command uname -r)" else - _system_version="libc-$(ldd --version | \command \awk 'NR==1 {print $NF}' | \command \awk -F. '{print $1"."$2}' | head -n 1)" + _system_version="libc-$(ldd --version 2>&1 | \command \awk 'NR==1 {print $NF}' | \command \awk -F. '{print $1"."$2}' | head -n 1)" fi ;; ==== end of patch ====