安裝PHP時,在第一步編譯配置的時候出現以下信息。一時不得其解,最後看了一下信息內容,有一個錯誤日誌文件debug.log。在錯誤日誌文件裏提到了error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or director。就是系統缺少libltdl3的意思。
於是在網上下載了https://rpmfind.net/linux/rpm2html/search.php?query=libltdl3&submit=Search+...&system=&arch=
libltdl3-1.5.18-1mdk.i586.rpm 安裝成功後。重新編譯安裝PHP,成功。
提示:
1、libltdl.so.3 出現so的一般表示模塊,而不是表示某個安裝包。但可以根據模塊的名稱大致知道是什麼軟件包。
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
| If you are unable to fix this, send the file debug.log to the |
| [email protected] mailing list and include appropiate |
| information about your setup. |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+