QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 795|回复: 7

版主请帮忙!!!!!!!!!!!!!!!!!!!!!!!!!

[复制链接]
发表于 2003-5-2 16:12:07 | 显示全部楼层 |阅读模式
我用rh9,装了nvidia4346驱动
但运行maya4.5和用winex运行魔兽3时报错!


winex war3
/usr/lib/transgaming/winex/bin/wine: relocation error: /usr/lib/transgaming/winex/lib/libwine.so: symbol h_errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

maya也一样
这是怎么回事?
我用rh8时没这问题!
发表于 2003-5-3 02:44:30 | 显示全部楼层
u winex still use GLIBC_2.0 while i believe rh9 use glibc2.3 . what winex u use? try to upgrade to latest version if possible. otherwise u have to install glibc 2.0 on u rh9. that is not so easy.
回复

使用道具 举报

 楼主| 发表于 2003-5-3 16:56:21 | 显示全部楼层
可以用rh8的glibc替换一下吗?
怎么装回glibc2.0
我要用maya4.5的 !!!
回复

使用道具 举报

发表于 2003-5-4 07:17:24 | 显示全部楼层
it is not so easy. c&p from web.

You can have multiple version of any shared libraries under Linux. When they have different version numbers then the dynamic loader (ld.so) will find the one that a given binary is linked against. That's why there are symlinks under /lib pointing from major versions to the most recent minor versions. (Study the links under there to see what I mean).
However, as you say, there can sometimes be problems with this automatic loading mechanism. Sometimes the author of a package needs to specify a a more tight binding to some shared libraries. However, that involves recompiling it.
There is another way. You can use LD_PRELOAD_PATH and/or LD_LIBRARY_PATH environment variable to over-ride the normal library loading mechanism of normal (non-SUID) programs. (The loader over-ride is disabled when EUID doesn't match RUID, as is the case while running SUID programs. If this wasn't true it would be trivially easy to bypase system security with custom libraries and access to any dynamically linked SUID binary).
They way to use the LD_*_PATH variables is to sequester your special libraries in their own directory, and write small wrapper script to set and export the LD_*_PATH environment variable, then execute the necessary program. You do this with each program that needs the special library version.
Read the ld.so man page for more details.
回复

使用道具 举报

 楼主| 发表于 2003-5-4 21:26:38 | 显示全部楼层
不太明白!!!
是不是以原代码方式安装一下rh8的2.2版本的glibc就行了?
tar.bz包的?
回复

使用道具 举报

发表于 2003-5-4 23:07:10 | 显示全部楼层
u can try if u want. but i do not think so. i forget how to do this. anybody give a solution?
回复

使用道具 举报

 楼主| 发表于 2003-5-5 14:42:54 | 显示全部楼层
再等等,也许有人知道!
回复

使用道具 举报

 楼主| 发表于 2003-5-7 14:10:11 | 显示全部楼层
终于找到解决的方法了,在linuxsir上找到的.
让Maya4.5在Redhat9下正常运行的方法

以下为转载!



经过十几小时的忙碌,总算是把RedHat9装好了
但一些问题就来了,以前在RH8.0下可以正常使用的像Maya4.5,MATLAB6之类的程序在RH9中可就不太灵光了
Maya4.5在RH9中是可以安装的,可是在启动Maya时,会得到系统的一些链接库定义错误的提示
其实只要修改maya的启动脚本文件,就可让maya正常运行在RH9中
用任何一个文本编辑器打开/usr/aw/maya4.5/maya文件
找到以下这几行:
...
case Linux:
set lib = lib
set lsFlags = '-l'
breaksw
...
在其中加入一行,改为:
...
case Linux:
set lib = lib
set lsFlags = '-l'
setenv LD_ASSUME_KERNEL 2.4.1
breaksw
...
存盘,这时maya4.5就可以正常启动了

MATLAB在RH9中好像不能安装了,安装程序执行到98%就停止了响应,不知道是什么原因?
http://linuxsir.com/bbs/showthread.php?s=&threadid=30915
有哪位兄弟知道怎么解决,请告诉小弟一声,谢谢

最后由 birrell 在 04-04-2003 16:37 编辑
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-12-5 10:44 , Processed in 0.062158 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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