碰到个问题,我们的应用在AIX 5.3的环境下编译,然后拿到AIX 5.8的机器上运行,出现动态库连接错误,
错误信息如下:
exec(): 0509-036 Cannot load program chargesrv because of the following errors:
rtld: 0712-001 Symbol strncpy__FPcPCcUl was referenced
from module chargesrv(), but a runtime definition
of the symbol was not found
这个strncpy__FPcPCcUl是属于哪个动态库的还是怎么回事啊?在先等答案...
------解决方案--------------------------------------------------------
可以先比较一下两个环境中的环境变量LD_LIBRARY_PATH