3

在 AIX 上,我正在执行一个脚本。在此脚本中,它尝试加载 64 位共享对象库(.so 文件)。它没有通过给出以下错误来做到这一点:

该模块具有无效的幻数。

如果我输入“prtconf”,它会告诉我系统是 64 位的。

任何人都可以帮忙吗?

4

1 回答 1

0

I think more details are probably needed to answer this. It could be that you have multiple copies of the shared lib file on the system and it's loading the one you don't expect. It does sound like a 32/64-bit incompatibility issue, though. Where did the .so come from? How do you know it's 64-bit? Are you sure whatever you're doing in your script is 64-bit?

于 2011-02-02T22:13:02.390 回答