RHEL 6 - how to install 'GLIBC_2.14' or 'GLIBC_2.15'?

后端 未结 5 1417
忘了有多久
忘了有多久 2020-12-23 17:29

I need these 2 packages installed on RHEL 6 linux system. They are required by several other programs.

When I do:

sudo yum install glibc-devel
         


        
5条回答
  •  被撕碎了的回忆
    2020-12-23 18:16

    This often occurs when you build software in RHEL 7 and try to run on RHEL 6.

    To update GLIBC to any version, simply download the package from

    https://ftp.gnu.org/gnu/libc/

    For example glibc-2.14.tar.gz in your case.

    1. tar xvfz glibc-2.14.tar.gz
    2. cd glibc-2.14
    3. mkdir build
    4. cd build
    5. ../configure --prefix=/opt/glibc-2.14
    6. make
    7. sudo make install
    8. export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH

    Then try to run your software, glibc-2.14 should be linked.

提交回复
热议问题