LinuxSir.cn,穿越时空的Linuxsir!

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

环境变量问题?

[复制链接]
发表于 2004-3-4 14:37:00 | 显示全部楼层 |阅读模式
安装完xine的lib后,提示
****************************************************************
xine-lib will be installed to /usr/local/lib

This path is not mentioned among the linker search paths in your
/etc/ld.so.conf. This means it is possible that xine-lib will
not be found when you try to compile or run a program using it.
If this happens, you should add /usr/local/lib to
the environment variable LD_LIBRARY_PATH like that:

export LD_LIBRARY_PATH=/usr/local/libLD_LIBRARY_PATH

Alternatively you can add a line "/usr/local/lib"
to your /etc/ld.so.conf.
****************************************************************
请问如何设置这个环境变量
不设的话,其他东西装不上,提示不到xine的lib
谢谢
发表于 2004-3-4 18:34:26 | 显示全部楼层
它已经告诉你了:
#export LD_LIBRARY_PATH=/usr/local/libLD_LIBRARY_PATH
把"/usr/local/lib"加入/etc/ld.so.conf更好些.
发表于 2007-5-25 13:03:25 | 显示全部楼层
请问怎么把"/usr/local/lib"加入/etc/ld.so.conf??
回复 支持 反对

使用道具 举报

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

本版积分规则

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