简体   繁体   English

使用 gcc 在 RHEL 8 上编译的代码在 RHEL 6 上不起作用。找不到错误“GLIBC_2.14”

[英]Code compiled on RHEL 8 using gcc not working on RHEL 6. Getting error `GLIBC_2.14' not found

We are having an application which is built using gcc on RHEL 8 .我们有一个在RHEL 8上使用gcc构建的应用程序。 When we run the executable for this application on RHEL 6 we are getting error `GLIBC_2.14' not found required by application.当我们在RHEL 6上运行此应用程序的可执行文件时,我们收到错误“GLIBC_2.14”未找到应用程序所需。 What are the options which can make application built on RHEL 8 using gcc run on RHEL 6 .有哪些选项可以使使用 gcc在 RHEL 8 上构建的应用程序RHEL 6上运行。

What are the options which can make application built on RHEL 8 using gcc run on RHEL 6.有哪些选项可以使使用 gcc 在 RHEL 8 上构建的应用程序在 RHEL 6 上运行。

Running the application in a docker container may be a reasonable option.在 docker 容器中运行应用程序可能是一个合理的选择。

You could also install GLIBC-2.14 (or newer) in parallel to the system GLIBC.您还可以与系统 GLIBC 并行安装 GLIBC-2.14(或更新版本)。 See this answer .看到这个答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM