We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd280c3 commit dc57e15Copy full SHA for dc57e15
bundle/linux/install.sh
@@ -62,12 +62,14 @@ check_glibc_version() {
62
LIBC_PATH=/lib64/libc.so.6
63
elif [ -f /lib/libc.so.6 ]; then
64
LIBC_PATH=/lib/libc.so.6
65
+ elif [ -f /usr/lib/x86_64-linux-gnu/libc.so.6 ]; then
66
+ LIBC_PATH=/usr/lib/x86_64-linux-gnu/libc.so.6
67
else
68
log_error "Could not find glibc."
69
return 1
70
fi
71
- glibc_version=$("$LIBC_PATH" | sed -n 's/^GNU C Library (GNU libc) stable release version \([0-9]*\)\.\([0-9]*\).*$/\1.\2/p')
72
+ glibc_version=$("$LIBC_PATH" | sed -n 's/^GNU C Library (.*) stable release version \([0-9]*\)\.\([0-9]*\).*$/\1.\2/p')
73
74
if [ -z "$glibc_version" ]; then
75
log_error "Could not determine glibc version."
0 commit comments