安装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 |
| php-install@lists.php.net 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. |
+--------------------------------------------------------------------+
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。