From e4125588feb9de6d47dd38c010317783e34024c2 Mon Sep 17 00:00:00 2001 From: Doug Engert Date: Sat, 11 Jan 2025 11:47:34 -0600 Subject: [PATCH] setup-linux.sh - get package name for debug Use the same OpenSSL package names as installed for libs. Newer versions use a different naming convention for libs. On branch github-setup Changes to be committed: modified: setup-linux.sh --- .github/setup-linux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/setup-linux.sh b/.github/setup-linux.sh index 24aa9e7d0f..94882a0322 100755 --- a/.github/setup-linux.sh +++ b/.github/setup-linux.sh @@ -91,7 +91,9 @@ deb http://ddebs.ubuntu.com $(lsb_release -cs 2> /dev/null)-proposed main restri $SUDO apt-get update -qq DEP="libssl1.1-dbgsym" if [ -f "/usr/lib/x86_64-linux-gnu/libssl.so.3" ]; then - DEP="libssl3t64-dbgsym" +# libcrypto is in same package as libssl + DEPX=`dpkg -S "/usr/lib/x86_64-linux-gnu/libssl.so.3"` + DEP="${DEPX%%:*}-dbgsym" fi $SUDO apt-get install -y openssl-dbgsym "$DEP" softhsm2-dbgsym libsofthsm2-dbgsym fi