Skip to content

Commit

Permalink
Bump glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Apr 1, 2023
1 parent deebf70 commit 5590974
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/linuxdeployqt/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,13 @@ int main(int argc, char **argv)
qInfo() << " https://github.com/probonopd/linuxdeployqt/issues/340";
} else {
// openSUSE Leap 15.0 uses glibc 2.26 and is used on OBS
// Ubuntu Xenial (16.04) uses glibc 2.23
// Ubuntu Bionic (18.04) uses glibc 2.27
if (strverscmp (glcv, "2.28") >= 0) {
// Ubuntu Xenial Xerus (16.04) uses glibc 2.23
// Ubuntu Bionic Beaver (18.04) uses glibc 2.27
// Ubuntu Focal Fossa (20.04) uses glibc 2.31
if (strverscmp (glcv, "2.32") >= 0) {
qInfo() << "ERROR: The host system is too new.";
qInfo() << "Please run on a system with a glibc version no newer than what comes with the oldest";
qInfo() << "currently still-supported mainstream distribution (Ubuntu Bionic), which is glibc 2.27.";
qInfo() << "currently supported mainstream distribution (Ubuntu Focal Fossa), which is glibc 2.31.";
qInfo() << "This is so that the resulting bundle will work on most still-supported Linux distributions.";
qInfo() << "For more information, please see";
qInfo() << "https://github.com/probonopd/linuxdeployqt/issues/340";
Expand Down

0 comments on commit 5590974

Please sign in to comment.