Error while creating cookbook

error while creating cookbook in chef-workstation in linux.

/opt/chef-workstation/embedded/bin/ruby: /lib64/libcrypt.so.1: version XCRYPT_2 .0' not found (required by /opt/chef-workstation/embedded/lib/libruby.so.3.0) /opt/chef-workstation/embedded/bin/ruby: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /opt/chef-workstation/embedded/lib/libruby.so.3.0)
/opt/chef-workstation/embedded/bin/ruby: /lib64/libc.so.6: version GLIBC_2.27' not found (required by /opt/chef-workstation/embedded/lib/libruby.so.3.0) [root@ip-172-31-29-217 cookbooks]# /opt/chef-workstation/embedded/bin/ruby: /lib64/libcrypt.so.1: version XCRYPT_2 .0' not found
chef error