Chef를 설치하면 다음 오류가 발생합니다.
[root@centos Tools]# chef-server-ctl reconfigure
/opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/opscode/embedded/lib/libruby.so.2.1)
/opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /opt/opscode/embedded/lib/libruby.so.2.1)
glibc-2.14.1.tar.gz
소스 코드를 다운로드 glibc-2.17.tar.gz
하고 --prefix
위치를 수동으로 컴파일했지만 /home/virt02/lib
여전히 소용이 없습니다. 위와 같은 오류가 발생합니다.
업데이트: 내가 해냈어
[root@centos Tools]# cat /etc/ld.so.conf.d/randomLibs.conf
/home/virt02/lib
[root@centos Tools]# ldconfig
[root@centos Tools]#
고쳐 쓰다:
[root@centos ~]# ldd /opt/opscode/embedded/lib/libruby.so.2.1
/opt/opscode/embedded/lib/libruby.so.2.1: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/opscode/embedded/lib/libruby.so.2.1)
/opt/opscode/embedded/lib/libruby.so.2.1: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /opt/opscode/embedded/lib/libruby.so.2.1)
linux-vdso.so.1 => (0x00007ffce97a7000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fab5317c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fab52f77000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fab52d40000)
libm.so.6 => /lib64/libm.so.6 (0x00007fab52abc000)
libc.so.6 => /lib64/libc.so.6 (0x00007fab52727000)
/lib64/ld-linux-x86-64.so.2 (0x00007fab53883000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007fab52524000)
[root@centos ~]# ldd /lib64/libc.so.6
/lib64/ld-linux-x86-64.so.2 (0x00007f0151e36000)
linux-vdso.so.1 => (0x00007fff952ee000)
[root@centos ~]#
하지만 여전히 작동하지 않습니다.