Skip to content

Commit

Permalink
setup-linux.sh - get package name for debug
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dengert committed Jan 11, 2025
1 parent ec7679d commit e412558
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/setup-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e412558

Please sign in to comment.