AIX 上的 rsync 给出 popt The module has an invalid magic number 错误

AIX 上的 rsync 给出 popt The module has an invalid magic number 错误
[SERVER:root:/home/user:] rsync -avz --delete ...
Could not load program rsync:
    Dependent module /opt/freeware/lib/libpopt.a(libpopt.so.0) could not be loaded.
    The module has an invalid magic number.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]
[SERVER:root:/home/user:] 
[SERVER:root:/home/user:] oslevel -s
6100-09-06-1543
[SERVER:root:/home/user:] rpm -qa | egrep -i 'popt|rsync'
popt-1.16-1
rsync-3.0.6-1
[SERVER:root:/home/user:] 

问题: 为什么rsync会出现上面的错误信息?问题可能是什么?

更新:

[SERVER:root:/home/user:] file /opt/freeware/lib/libpopt.a*
/opt/freeware/lib/libpopt.a: archive (big format)
[SERVER:root:/home/user:] 
[SERVER:root:/home/user:] getconf KERNEL_BITMODE
64
[SERVER:root:/home/user:] 
[SERVER:root:/home/user:] ar t /opt/freeware/lib/libpopt.a
libpopt.so.0
[SERVER:root:/home/user:] 

答案1

当 64 位库安装在 32 位内核上时,我看到过这种情况,反之亦然。

答案2

解决办法:有几个popt库文件被TARGET端的人覆盖了。在目标端重新安装 popt。

相关内容