RedHat 7.2如何获取stub-32.h
RedHat 7.2 how to get stub-32.h
我有一个运行RedHat 7.2的64位系统,我正在尝试构建一个需要stub-32.h的项目
将位于/usr/include/gnu
但是我的安装只有这些文件在上面的文件夹:
-rw-r--r--. 1 root root 1270 Aug 11 06:56 libc-version.h
-rw-r--r--. 1 root root 4844 Aug 11 06:56 lib-names.h
-rw-r--r--. 1 root root 604 Aug 11 06:57 stubs-64.h
-rw-r--r--. 1 root root 384 Aug 11 06:56 stubs.h
我已经尝试了各种方法来安装stub -32.h,但总是遇到同样的问题,如果我尝试:
sudo yum install glibc-devel.i686
结果是:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i686 0:2.17-106.el7_2.8 will be installed
--> Processing Dependency: glibc = 2.17-106.el7_2.8 for package: glibc-devel-2.17-106.el7_2.8.i686
--> Processing Dependency: glibc-headers = 2.17-106.el7_2.8 for package: glibc-devel-2.17-106.el7_2.8.i686
--> Finished Dependency Resolution
Error: Package: glibc-devel-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
Requires: glibc = 2.17-106.el7_2.8
Installed: glibc-2.17-157.el7.i686 (@rhel-7-workstation-rpms)
glibc = 2.17-157.el7
Available: glibc-2.17-55.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7
Available: glibc-2.17-55.el7_0.1.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.1
Available: glibc-2.17-55.el7_0.3.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.3
Available: glibc-2.17-55.el7_0.5.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.5
Available: glibc-2.17-78.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-78.el7
Available: glibc-2.17-105.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-105.el7
Available: glibc-2.17-106.el7_2.1.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.1
Available: glibc-2.17-106.el7_2.4.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.4
Available: glibc-2.17-106.el7_2.6.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.6
Available: glibc-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.8
Error: Package: glibc-devel-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
Requires: glibc-headers = 2.17-106.el7_2.8
Installed: glibc-headers-2.17-157.el7.x86_64 (@rhel-7-workstation-rpms)
glibc-headers = 2.17-157.el7
Available: glibc-headers-2.17-55.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7
Available: glibc-headers-2.17-55.el7_0.1.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.1
Available: glibc-headers-2.17-55.el7_0.3.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.3
Available: glibc-headers-2.17-55.el7_0.5.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.5
Available: glibc-headers-2.17-78.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-78.el7
Available: glibc-headers-2.17-105.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-105.el7
Available: glibc-headers-2.17-106.el7_2.1.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.1
Available: glibc-headers-2.17-106.el7_2.4.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.4
Available: glibc-headers-2.17-106.el7_2.6.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.6
Available: glibc-headers-2.17-106.el7_2.8.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.8
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: glibc-devel-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
Requires: glibc = 2.17-106.el7_2.8
Installed: glibc-2.17-157.el7.i686 (@rhel-7-workstation-rpms)
glibc = 2.17-157.el7
Available: glibc-2.17-55.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7
Available: glibc-2.17-55.el7_0.1.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.1
Available: glibc-2.17-55.el7_0.3.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.3
Available: glibc-2.17-55.el7_0.5.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.5
Available: glibc-2.17-78.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-78.el7
Available: glibc-2.17-105.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-105.el7
Available: glibc-2.17-106.el7_2.1.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.1
Available: glibc-2.17-106.el7_2.4.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.4
Available: glibc-2.17-106.el7_2.6.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.6
Available: glibc-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.8
Error: Package: glibc-devel-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
Requires: glibc-headers = 2.17-106.el7_2.8
Installed: glibc-headers-2.17-157.el7.x86_64 (@rhel-7-workstation-rpms)
glibc-headers = 2.17-157.el7
Available: glibc-headers-2.17-55.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7
Available: glibc-headers-2.17-55.el7_0.1.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.1
Available: glibc-headers-2.17-55.el7_0.3.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.3
Available: glibc-headers-2.17-55.el7_0.5.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.5
Available: glibc-headers-2.17-78.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-78.el7
Available: glibc-headers-2.17-105.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-105.el7
Available: glibc-headers-2.17-106.el7_2.1.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.1
Available: glibc-headers-2.17-106.el7_2.4.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.4
Available: glibc-headers-2.17-106.el7_2.6.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.6
Available: glibc-headers-2.17-106.el7_2.8.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.8
You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
ipa-client-4.4.0-12.el7.x86_64 has installed conflicts freeipa-client: ipa-client-4.4.0-12.el7.x86_64
ipa-client-common-4.4.0-12.el7.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.4.0-12.el7.noarch
ipa-common-4.4.0-12.el7.noarch has installed conflicts freeipa-common: ipa-common-4.4.0-12.el7.noarch
ipa-python-compat-4.4.0-12.el7.noarch has installed conflicts freeipa- python-compat: ipa-python-compat-4.4.0-12.el7.noarch
如何解决这个问题?
发现:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Developer_Guide/compilers.html部分:3.1.3.6. 在64位主机上使用32位编译器
我跑:
sudo yum install --skip-broken glibc-devel.i686 libgcc.i686 libstdc++-devel.i686
并遵照指示。还是不开心。
我现在已经在Virtual box上安装了Centos,并简单地做了:
sudo yum install glibc-devel.i686
这个工作了,现在我有:
stubs-32.h
相关文章:
- C++为构建时间获取QDateTime的可靠方法
- lambda参数转换为constexpr技巧,然后获取带链接的数组
- 如何使用 < 和 > 命令获取 c++ 中的输入和输出?
- 使用指针从C++中的数组中获取最大值
- 获取两个无符号整数 C++ 乘积的高 32 位的有效方法
- 如何在何处获取 MSVS 2008(32 位)编译器工具链的编译器,而无需安装 MSVS2008
- 在 Linux 中将 UTF-32 宽字符转换为 UTF-16 宽字符以获取补充平面字符
- 如何从32位流程中获取可靠的内存使用信息以进行64位过程
- 如何在跨平台 c++ 32 位系统中获取以毫秒为单位的时差
- 如何获取 winMain 的 hInstance?视窗32编程
- 如何使用在窗口中使用C++从CreateToolhelp32Snapshot获取64/32位进程详细信息和进程信息
- 无法使用 <math.h 中的 C/C++ nextafter/nexttowards 函数获取下一个 32 位浮点值>
- 使用 AssocQueryString 从 32 位应用程序获取 64 位应用程序命令,但不起作用
- 从x64进程获取另一个进程的32位PEB
- 使用32位应用程序从64位kernel32.dll获取函数地址
- RedHat 7.2如何获取stub-32.h
- 从32位进程获取64位进程内存的入口点
- 从32位整数中获取GPS时间
- 按位运算符从32位获取字节
- c++:如何在Windows 32和64位获取最新的Java路径