Sample Header Ad - 728x90

GLIBC not loading even after source compilation

2 votes
0 answers
1950 views
While I am installing chef , I am getting below error. [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) I have downloaded glibc-2.14.1.tar.gz and glibc-2.17.tar.gz sources and compiled manually with --prefix location as /home/virt02/lib but still no use. Getting same above error. Update : I did [root@centos Tools]# cat /etc/ld.so.conf.d/randomLibs.conf /home/virt02/lib [root@centos Tools]# ldconfig [root@centos Tools]# Update : [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 ~]# But still not working.
Asked by Raja G (6177 rep)
Dec 28, 2015, 11:09 AM
Last activity: Apr 29, 2019, 12:04 PM