我在CentOS6.5升级glibc-2.14 make install出现错误:Can't open configuration file /opt/glibc-2.14/etc/ld.so.conf: No such file or directory。 大家有谁遇到过,请帮我解决下子,困扰我了。谢谢!我没有悬赏分数了,抱歉。
ld.so.conf文件缺少:
cp -r /etc/ld.so.c* /opt/glibc-2.14/etc/
ln -sf /opt/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6
提示说的很清楚了,少了 /opt/glibc-2.14/etc/ld.so.conf 这个文件
你对应呃目录下有这个加载器吗
touch /opt/glibc-2.14/etc/ld.so.conf 之后看看行不行,注意make install 命令最好“sudo make install”
(sed '/^@/d' include/stubs-prologue.h; LC_ALL=C sort /root/tools/glibc/csu/stubs /root/tools/glibc/iconv/stubs /root/tools/glibc/locale/stubs /root/tools/glibc/localedata/stubs /root/tools/glibc/iconvdata/stubs /root/tools/glibc/assert/stubs /root/tools/glibc/ctype/stubs /root/tools/glibc/intl/stubs /root/tools/glibc/catgets/stubs /root/tools/glibc/math/stubs /root/tools/glibc/setjmp/stubs /root/tools/glibc/signal/stubs /root/tools/glibc/stdlib/stubs /root/tools/glibc/stdio-common/stubs /root/tools/glibc/libio/stubs /root/tools/glibc/dlfcn/stubs /root/tools/glibc/malloc/stubs /root/tools/glibc/string/stubs /root/tools/glibc/wcsmbs/stubs /root/tools/glibc/timezone/stubs /root/tools/glibc/time/stubs /root/tools/glibc/dirent/stubs /root/tools/glibc/grp/stubs /root/tools/glibc/pwd/stubs /root/tools/glibc/posix/stubs /root/tools/glibc/io/stubs /root/tools/glibc/termios/stubs /root/tools/glibc/resource/stubs /root/tools/glibc/misc/stubs /root/tools/glibc/socket/stubs /root/tools/glibc/sysvipc/stubs /root/tools/glibc/gmon/stubs /root/tools/glibc/gnulib/stubs /root/tools/glibc/wctype/stubs /root/tools/glibc/manual/stubs /root/tools/glibc/shadow/stubs /root/tools/glibc/gshadow/stubs /root/tools/glibc/po/stubs /root/tools/glibc/argp/stubs /root/tools/glibc/crypt/stubs /root/tools/glibc/nptl/stubs /root/tools/glibc/resolv/stubs /root/tools/glibc/nss/stubs /root/tools/glibc/rt/stubs /root/tools/glibc/conform/stubs /root/tools/glibc/debug/stubs /root/tools/glibc/libidn/stubs /root/tools/glibc/nptl_db/stubs /root/tools/glibc/inet/stubs /root/tools/glibc/hesiod/stubs /root/tools/glibc/sunrpc/stubs /root/tools/glibc/nis/stubs /root/tools/glibc/nscd/stubs /root/tools/glibc/streams/stubs /root/tools/glibc/login/stubs /root/tools/glibc/elf/stubs) > /root/tools/glibc/stubs.h
if test -r /root/tools/glibc/include/gnu/stubs-64.h && cmp -s /root/tools/glibc/stubs.h /root/tools/glibc/include/gnu/stubs-64.h; \
then echo 'stubs.h unchanged'; \
else /usr/bin/install -c -m 644 /root/tools/glibc/stubs.h /root/tools/glibc/include/gnu/stubs-64.h; fi
stubs.h unchanged
rm -f /root/tools/glibc/stubs.h
/root/tools/glibc/elf/sln /root/tools/glibc/elf/symlink.list
rm -f /root/tools/glibc/elf/symlink.list
test ! -x /root/tools/glibc/elf/ldconfig || LC_ALL=C LANGUAGE=C \
/root/tools/glibc/elf/ldconfig \
/root/tools/glibc/lib /root/tools/glibc/lib
make[1]: Leaving directory `/root/tools/glibc-2.17'
这没安装成功怎么办呢?
和博主一样的问题,请问博主现在解决了吗?
楼上有人解决吗,我也遇到了这个问题
升级GLIBC一定要小心,我的centos已经进不去了。。。
http://www.linuxdiyf.com/linux/23702.html
这里有解决办法可以参考一下