--- a/config/get_readline
+++ b/config/get_readline
@@ -52,7 +52,7 @@
 
 readline_version=
 if test -r $exe; then
-  readline_version=`env LD_LIBRARY_PATH="$LD_LIBRARY_PATH$dir_sep$readline" $RUNTEST $exe`;
+  readline_version=8.1;
 fi
 . cleanup_exe
 
