2 qq 15092795 qq_15092795 于 2015.05.28 11:14 提问

我在CentOS6.5升级glibc-2.14 make install出现错误

我在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。 大家有谁遇到过,请帮我解决下子,困扰我了。谢谢!我没有悬赏分数了,抱歉。

9个回答

u011641885
u011641885   2015.05.28 11:59

提示说的很清楚了,少了 /opt/glibc-2.14/etc/ld.so.conf 这个文件

u012940672
u012940672   2016.01.06 10:04

touch /opt/glibc-2.14/etc/ld.so.conf 之后看看行不行,注意make install 命令最好“sudo make install”

gs80140
gs80140 touch 不报错了,但是不报任何错误,也没有安装成功
一年多之前 回复
zhangxin09
zhangxin09   2016.05.27 00:40

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

frankvaliant
frankvaliant   2016.04.23 15:38

和博主一样的问题,请问博主现在解决了吗?

oyljerry
oyljerry   Ds   Rxr 2015.05.28 12:24

你对应呃目录下有这个加载器吗

gs80140
gs80140   2016.02.24 00:35

(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'

这没安装成功怎么办呢?

E08640104
E08640104   2016.05.25 20:42

楼上有人解决吗,我也遇到了这个问题

peaktravel
peaktravel   2016.08.24 14:19

升级GLIBC一定要小心,我的centos已经进不去了。。。

pppkq
pppkq   2016.10.12 10:24

http://www.linuxdiyf.com/linux/23702.html
这里有解决办法可以参考一下

Csdn user default icon
上传中...
上传图片
插入图片