LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 765|回复: 6

about blfs,in Configuring Xorg

[复制链接]
发表于 2007-2-6 22:02:19 | 显示全部楼层 |阅读模式
about blfs,in Configuring Xorg when executing the command "ldconfig",an error occurs:"bash: ldconfig: command not found",how to do?
发表于 2007-2-6 22:24:55 | 显示全部楼层
PATH??
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-6 22:30:22 | 显示全部楼层
echo $PATH

/bin:/usr/bin
回复 支持 反对

使用道具 举报

发表于 2007-2-6 22:33:38 | 显示全部楼层
d00m3d@BlackMesa1:~$ whereis ldconfig
ldconfig: /sbin/ldconfig /usr/share/man/man8/ldconfig.8.gz
d00m3d@BlackMesa1:~$

ldconfig is located at /sbin!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-6 22:38:11 | 显示全部楼层
how to do then?
回复 支持 反对

使用道具 举报

发表于 2007-2-6 22:44:03 | 显示全部楼层
Don't tell me you do not know how to change a search path...

You should pay attention to the user identity being used, /sbin is usually storing utilities that are used by root only.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-6 23:11:44 | 显示全部楼层
i think through
ln -v -sf ../X11R6/bin /usr/bin/X11 &&
ln -v -sf ../X11R6/lib/X11 /usr/lib/X11 &&
ln -v -sf ../X11R6/include/X11 /usr/include/X11

it can work,bu i am wrong,it doesn't work.
when using ldconfig,it refers to /sbin/ldconfig
while using Xorg -configure,it refers to /usr/bin/X11/X -config  ~/xorg.conf.new
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表