Warning: inter-library dependencies are not known

通过《openSUSE 11.0安装PHP5+MYSQL5+APACHE2全记录》,您可以正常在OpenSUSE里编译安装功能丰富的LAMP套件。
照着上面的方法,我在Redhat Enterprise Linux 5里编译安装LAMP,前面都很顺利,到了PHP5这里出问题了。
configure的时候正常,make的时候出警告:
引用内容*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp5. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
*** All declared inter-library dependencies are being dropped.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp5. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
make install的时候报错,大意是找不到libphp5.so
经过一番搜索,终于找到了解决方案:
1、运行configure脚本
2、打开configure后生成的libtool
3、找到deplibs_check_method变量,将其值改为“pass_all”
4、运行make、make install


