Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-36623

oc binary fails when trying to run RHEL 8 linux x86_64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.16.0
    • oc
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      OC binary fails to run on RHEL 8 based bastion system.
      
      [root@chdeshpabastion ~]# cp oc /usr/local/bin/
      [root@chdeshpabastion ~]# oc get nodes
      oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by oc)
      oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by oc)
      oc: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by oc)
      [root@chdeshpabastion ~]# ./oc version
      ./oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./oc)
      ./oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./oc)
      ./oc: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./oc)
      
      [root@chdeshpabastion ~]# cat /etc/redhat-release 
      Red Hat Enterprise Linux release 8.7 (Ootpa)
      
      [root@chdeshpabastion ~]# uname -a 
      Linux chdeshpabastion 4.18.0-425.3.1.el8.x86_64 #1 SMP Fri Sep 30 11:45:06 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
      [root@chdeshpabastion ~]#     

      Version-Release number of selected component (if applicable):

          4.16.2

      How reproducible:

          100%

      Steps to Reproduce:

          1. get oc binary from : https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.16.2/     
          2. extract the OC binary 
          3. run oc commands
          

      Actual results:

      [root@chdeshpabastion ~]# ./oc version
      ./oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./oc)
      ./oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./oc)
      ./oc: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./oc)    

      Expected results:

        oc command should properly  

      Additional info:

          

              aguclu@redhat.com Arda Guclu
              rhn-support-chdeshpa Chinmay Deshpande
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: