centos问题:/usr/sbin/nscd: relocation error: /usr/sbin/nscd: symbol __nss_lookup, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

解决方法:
步骤一.libc问题,先看看你是改动了哪个libc**.so 库
二.查找出你原来该库的位置+名字,如:/lib64/libc.so.6
find / -iname libc.so.6

三.输入以下指令:
export LD_PRELOAD=/lib64/libc.so.6
即可解决
本文解决了一个 CentOS 系统中 /usr/sbin/nscd 的 relocation error 问题,涉及 libc.so.6 库的定位及修复方法。
4497

被折叠的 条评论
为什么被折叠?



