找回密码
 注册
查看: 871|回复: 1

XFree86-4.2.1的问题

[复制链接]
发表于 2002-12-29 18:13:47 | 显示全部楼层 |阅读模式
i just compiled the xfree86 and there is not any error message .but wheni logi in LFS and type startx.the error message still  as below:
error while loading shared libraries: libXmuu.so.1,cannot open shared object file: No such file or directory.

why??? i check the /usr/X11/lib directory,
#ls -l libXmuu.so.1
libXmuu.so.1 ->libXmuu.so.1.0
i have it. so i think maybe "startx" does not know how to find the libXmuu,
do you know how can i solve this probelm now?
发表于 2002-12-29 18:30:27 | 显示全部楼层

Re: XFree86-4.2.1的问题

[quote:a0985ed9a6="passion"]i just compiled the xfree86 and there is not any error message .but wheni logi in LFS and type startx.the error message still  as below:
error while loading shared libraries: libXmuu.so.1,cannot open shared object file: No such file or directory.

why??? i check the /usr/X11/lib directory,
#ls -l libXmuu.so.1
libXmuu.so.1 ->libXmuu.so.1.0
i have it. so i think maybe "startx" does not know how to find the libXmuu,
do you know how can i solve this probelm now?[/quote]

1,export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11/lib
这是临时解决办法,退出登录就失效了
vi /etc/ld.so.conf
加入
/usr/X11/lib
然后运行
ldconfig
就可以永久生效了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-5 22:04 , Processed in 0.018291 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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