additional search path for libc.so.6 in check-requirements-linux.sh (#227713)

extra path for libc.so.6 in check-requirements-linux.sh
pull/228106/head
henricryden 2024-09-10 14:50:30 +02:00 committed by GitHub
parent 3f0e1da184
commit 04846aa8da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ elif [ -z "$(ldd --version 2>&1 | grep 'musl libc')" ]; then
elif [ -f /usr/lib/libc.so.6 ]; then
# Typical path
libc_path='/usr/lib/libc.so.6'
elif [ -f /lib64/libc.so.6 ]; then
# Typical path (OpenSUSE)
libc_path='/lib64/libc.so.6'
elif [ -f /usr/lib64/libc.so.6 ]; then
# Typical path
libc_path='/usr/lib64/libc.so.6'