5
Ubuntu 18.04 上安装 glibc 2.28 支持 QT6
source link: https://xujinzh.github.io/2024/01/05/ubuntu-18-04-install-glibc2-28/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Ubuntu 18.04 上安装 glibc 2.28 支持 QT6
发表于2024-01-05|更新于2024-01-05|technologyubuntu
字数总计:159|阅读时长:1分钟|阅读量:11
最新的 QT6 需要 GLIBC_2.28 的支持,但是 Ubuntu18.04 上最高的 GLIBC 版本是 2.27,无法满足。本篇介绍如何在 Ubuntu18.04 上安装 GLIBC_2.28.
查看系统支持的 GLIBC 版本号
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_
安装 GLIBC 2.28
sudo su -c 'echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list' root
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853
sudo apt update
sudo apt install libc6 libc6-dev -y
安装成功后再次查看:
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_2.28
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK