错误 1
- The program package-cleanup is found in the yum-utils package
- # yum clean all
- # rpm --rebuilddb
- # yum update
使用解决方法仍然报错,根据错误信息 检查 /etc/yum.conf 确保 没有这行 exclude=*.i386 *.i586 *.i686
结束
原来使用yum 安装软件时会自动安装上两个版本的,xxx.i386 与 xxx.x86_64 ,由于我使用的基本是64 位操作系统,所以在
/etc/yum.conf 屏蔽安装所有 i386 软件包,造成了这个错误。
错误2
- login: PAM [dlerror: /lib/security/pam_limits.so: cannot open shared object
- file: No such file or directory]
解决方法
- vim /etc/pam.d/login
- 修改
-
- "session required /lib/security/pam_limits.so"
-
- 为
- "session required /lib64/security/pam_limits.so"
-
- 重启
错误3
- /usr/local/php/bin/phpize
- Cannot find config.m4.
- Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module
解决方法
- # ls
- config0.m4 CREDITS openssl.dsp php_openssl.h tests
- config.w32 openssl.c openssl.mak README xp_ssl.c
- # ln -s config0.m4 config.m4
- # ls
- config0.m4 config.w32 openssl.c openssl.mak README xp_ssl.c
- config.m4 CREDITS openssl.dsp php_openssl.h tests
-
- # /usr/local/php/bin/phpize
- Configuring for:
- PHP Api Version: 20041225
- Zend Module Api No: 20060613
- Zend Extension Api No: 220060519