/lib/libc.so.6:在Linux上安装Qt5时,版本“GLIBC_2.9”没有发现错误。

时间:2021-06-21 06:59:35

I am trying to install Qt5 on Linux but I get this errors:

我正在尝试在Linux上安装Qt5,但是我得到了这个错误:

[root@localhost Desktop]# ./qt-linux-opensource-1.4.0-x86-online.run
./qt-linux-opensource-1.4.0-x86-online.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./qt-linux-opensource-1.4.0-x86-online.run)
./qt-linux-opensource-1.4.0-x86-online.run: /lib/libc.so.6: version `GLIBC_2.9' not foundc (required by ./qt-linux-opensource-1.4.0-x86-online.run)
./qt-linux-opensource-1.4.0-x86-online.run: /lib/libc.so.6: version `GLIBC_2.10' not found (required by ./qt-linux-opensource-1.4.0-x86-online.run)
./qt-linux-opensource-1.4.0-x86-online.run: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./qt-linux-opensource-1.4.0-x86-online.run)
./qt-linux-opensource-1.4.0-x86-online.run: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qt-linux-opensource-1.4.0-x86-online.run)

I installed this file http://download.opensuse.org/repositories/devel:/gcc/SLE-10_SDK/i586/libstdc++44-4.4.2_20100116-28.1.i586.rpm and /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found error gone. But how can I fix others?

我安装了这个文件http://download.opensuse.org/repositories/devel:/gcc/SLE-10_SDK/i586/libstdc+ 44- 4.2_20100116-28.1.i586.rpm和/usr/lib/libstdc++。6:版本GLIBCXX_3.4.11“未发现错误消失”。但是,我该如何修复他人呢?

2 个解决方案

#1


2  

Your operating system is not officially supported. Given that, I think trying to use a pre-built binary is a fool's errand. Your best bet is building Qt 5 from source... and even then your system libraries might be too old.

您的操作系统没有得到官方的支持。考虑到这一点,我认为尝试使用预构建的二进制代码是徒劳的。你最好的办法是从源头上构建Qt 5。即使这样,你的系统库可能也太老了。

I know it's possible to build Qt5 on RHEL6, and I know it's pretty much impossible on RHEL5. RHEL5 is based on Fedora 6, and RHEL6 is based on Fedora 12/13.

我知道在RHEL6上构建Qt5是可能的,我知道在RHEL5上这是不可能的。RHEL5基于Fedora 6, RHEL6基于Fedora 12/13。

Fedora 7 falls in between the two, but is definitely closer to the wrong end of the scale. The primary question is what version of gstreamer you have. To build Qt Multimedia, you require gstreamer >=0.10.24. If you have that, you have at least some chance of making it work.

Fedora 7介于两者之间,但绝对更接近于错误的范围。主要的问题是你有什么版本的gstreamer。要构建Qt多媒体,您需要gstreamer >=0.10.24。如果有的话,你至少有机会让它发挥作用。

#2


1  

Don't mess with the system libraries -- just upgrade your distribution. Glibc 2.11 has been released in 2009, that's four years ago.

不要破坏系统库——只需升级您的发行版即可。Glibc 2.11已于2009年发布,那是四年前的事了。

#1


2  

Your operating system is not officially supported. Given that, I think trying to use a pre-built binary is a fool's errand. Your best bet is building Qt 5 from source... and even then your system libraries might be too old.

您的操作系统没有得到官方的支持。考虑到这一点,我认为尝试使用预构建的二进制代码是徒劳的。你最好的办法是从源头上构建Qt 5。即使这样,你的系统库可能也太老了。

I know it's possible to build Qt5 on RHEL6, and I know it's pretty much impossible on RHEL5. RHEL5 is based on Fedora 6, and RHEL6 is based on Fedora 12/13.

我知道在RHEL6上构建Qt5是可能的,我知道在RHEL5上这是不可能的。RHEL5基于Fedora 6, RHEL6基于Fedora 12/13。

Fedora 7 falls in between the two, but is definitely closer to the wrong end of the scale. The primary question is what version of gstreamer you have. To build Qt Multimedia, you require gstreamer >=0.10.24. If you have that, you have at least some chance of making it work.

Fedora 7介于两者之间,但绝对更接近于错误的范围。主要的问题是你有什么版本的gstreamer。要构建Qt多媒体,您需要gstreamer >=0.10.24。如果有的话,你至少有机会让它发挥作用。

#2


1  

Don't mess with the system libraries -- just upgrade your distribution. Glibc 2.11 has been released in 2009, that's four years ago.

不要破坏系统库——只需升级您的发行版即可。Glibc 2.11已于2009年发布,那是四年前的事了。