LinuxSir.cn,穿越时空的Linuxsir!

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

env-update不能保存改变的配置

[复制链接]
发表于 2006-3-22 21:12:14 | 显示全部楼层 |阅读模式
手动安装一个软件时,可执行(.bin)
提示:

  1. wolf@ustc-grid /opt/zend $ ./ZendStudio-5_1_0.bin
  2. Preparing to install...
  3. Extracting the JRE from the installer archive...
  4. Unpacking the JRE...
  5. Extracting the installation resources from the installer archive...
  6. Configuring the installer for this system's environment...
  7. awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
  8. dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
  9. /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
  10. basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
  11. dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
  12. basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
  13. hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

  14. Launching installer...

  15. grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
  16. /tmp/install.dir.20452/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

复制代码

但是以上的*.so文件都存在呀 就是在/lib下
我把/lib 加入/etc/ld.so.conf中
运行env-update&&source /etc/profile
再一查看/etc/ld.so.conf 又恢复到原来的内容 也就是我添加的/lib给清除了
不知道如何解决?
 楼主| 发表于 2006-3-22 21:18:58 | 显示全部楼层
export LDPATH=$LDPATH:/lib:/usr/lib
export LD_LIBRARY_PATH=$LDPATH:/lib:/usr/lib
也不行
回复 支持 反对

使用道具 举报

发表于 2006-3-22 23:00:00 | 显示全部楼层
估计是glibc的版本不对。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-23 09:07:01 | 显示全部楼层
Post by blackwhite
估计是glibc的版本不对。

你的意思是和安装软件所需的glibc版本不对?
我的glibc
2.3.6-r3
回复 支持 反对

使用道具 举报

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

本版积分规则

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