From 61e03e36555d1a1743aa4d4758f64c7cd35242ff Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 26 Jan 2024 16:56:41 -0500 Subject: [PATCH] bootstrap: add 'libxcrypt-compat' to pacman install command (#1137) This is apparently necessary to permit Python 3.8.12 to run. Namely, it needs to link to libcrypt.so.1, and without libxcrypt-compat, that linking step fails. --- scripts/bootstrap/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/bootstrap/install.sh b/scripts/bootstrap/install.sh index b4a3d0ad9..ff1cb0fb8 100755 --- a/scripts/bootstrap/install.sh +++ b/scripts/bootstrap/install.sh @@ -10,12 +10,12 @@ # brew install zstd jq coreutils # # Ubuntu -# +# # apt install zstd jq # # Arch Linux -# -# pacman -S zstd jq +# +# pacman -S zstd jq libxcrypt-compat # # Windows # @@ -72,7 +72,7 @@ for version in "${versions[@]}"; do echo "Installing $key" url=$(jq --arg key "$key" '.[$key] | .url' -r < "$versions_metadata") - + if [ "$url" == 'null' ]; then echo "No matching download for $key" exit 1 @@ -96,7 +96,7 @@ for version in "${versions[@]}"; do echo "Extracting to $($realpath --relative-to="$root_dir" "$install_key")" mkdir -p "$install_key" zstd -d "$this_dir/$filename" --stdout | tar -x -C "$install_key" - + # Setup the installation mv "$install_key/python/"* "$install_key" # Use relative paths for links so if the bin is moved they don't break