fix(apps/installer): install libstdc++-16-dev on Ubuntu 26.04 (#26940)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
357f2eb89f
commit
a8ac7959e7
2 changed files with 7 additions and 2 deletions
4
.github/actions/linux-build/action.yml
vendored
4
.github/actions/linux-build/action.yml
vendored
|
|
@ -76,7 +76,9 @@ runs:
|
|||
libboost-all-dev libbz2-dev libmysql++-dev \
|
||||
libreadline6-dev libssl-dev libtool openssl zlib1g-dev
|
||||
if [[ "$(lsb_release -sr)" == "26.04" ]]; then
|
||||
sudo apt-get -y install libgoogle-perftools-dev default-libmysqlclient-dev
|
||||
# libstdc++-16-dev: clang 21 links against the GCC 16 toolchain, the
|
||||
# default g++ (GCC 15) only brings the GCC 15 C++ dev files
|
||||
sudo apt-get -y install libgoogle-perftools-dev default-libmysqlclient-dev libstdc++-16-dev
|
||||
else
|
||||
sudo apt-get -y install google-perftools libmysqlclient-dev libncurses5-dev
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -36,8 +36,11 @@ apt-get -y install ccache clang cmake curl make unzip jq screen tmux \
|
|||
|
||||
# version-specific deps
|
||||
if [[ "$UBUNTU_VERSION" == "26.04" ]]; then
|
||||
# libstdc++-16-dev: clang 21 links against the GCC 16 toolchain, while the
|
||||
# default g++ is GCC 15 and only brings the GCC 15 C++ dev files, so cmake
|
||||
# fails with "cannot find -lstdc++" without it.
|
||||
$SUDO DEBIAN_FRONTEND="noninteractive" \
|
||||
apt-get -y install libgoogle-perftools-dev default-libmysqlclient-dev
|
||||
apt-get -y install libgoogle-perftools-dev default-libmysqlclient-dev libstdc++-16-dev
|
||||
else
|
||||
$SUDO DEBIAN_FRONTEND="noninteractive" \
|
||||
apt-get -y install google-perftools libmysqlclient-dev libncurses5-dev libncursesw5-dev
|
||||
|
|
|
|||
Loading…
Reference in a new issue