昨天rpm -e --nodeps 误删了gettext 现在导致rpm命令没法使用。 出错如下: exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-150 Dependent module libintl.a(libintl.so.1) could not be loaded. 0509-022 Cannot load module libintl.a(libintl.so.1). 0509-026 System error: A file or directory in the path name does not exist. 应该是libintl.a文件被删掉了,我找了下,系统中也没有libintl.so.1文件 现在不知道该怎么办了,从其他平台上编译出来的libintl.so.1文件拷过来也没法使用,求救!! |
到https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/ 下载libintl.a 11-Apr-2019 04:02 405K
而后覆盖/opt/freeware/lib下的libintl.a即可。