VPS侦探论坛

 找回密码
 注册
查看: 167|回复: 2

PHP一直无法安装

[复制链接]
发表于 2022-11-16 20:09:56 | 显示全部楼层 |阅读模式

服务器:腾讯云
系统:Ubuntu Server 20.04 LTS 64bit
配置:2核,4G内存,60G硬盘


之前没做什么操作,刚重装的系统

因为之前一直显示 “Package 'libpng12-0' has no installation candidate”
所以我就找其他方法给他装上了
在试了一次还是不行
请教一下这是什么原因啊

https://cowtransfer.com/s/b2d15456d80442
口令 a2szca
美国VPS推荐: 遨游主机LinodeLOCVPS主机云VPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-11-17 09:40:43 | 显示全部楼层


/usr/bin/ld: ext/intl/php_intl.o: in function `zm_shutdown_intl':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/php_intl.c:253: undefined reference to `u_cleanup_58'
/usr/bin/ld: ext/intl/php_intl.o: in function `intl_locale_get_default':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/php_intl.c:93: undefined reference to `uloc_getDefault_58'
/usr/bin/ld: ext/intl/intl_error.o: in function `intl_error_get_message':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/intl_error.c:124: undefined reference to `u_errorName_58'
/usr/bin/ld: ext/intl/collator/collator_class.o: in function `collator_object_destroy':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_class.c:115: undefined reference to `ucol_close_58'
/usr/bin/ld: ext/intl/collator/collator_sort.o: in function `collator_regular_compare_function':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_sort.c:74: undefined reference to `ucol_strcoll_58'
/usr/bin/ld: ext/intl/collator/collator_sort.o: in function `collator_icu_compare_function':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_sort.c:180: undefined reference to `ucol_strcoll_58'
/usr/bin/ld: ext/intl/collator/collator_sort.o: in function `zif_collator_sort_with_sort_keys':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_sort.c:428: undefined reference to `ucol_getSortKey_58'
/usr/bin/ld: /home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_sort.c:444: undefined reference to `ucol_getSortKey_58'
/usr/bin/ld: ext/intl/collator/collator_sort.o: in function `zif_collator_get_sort_key':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_sort.c:554: undefined reference to `ucol_getSortKey_58'
/usr/bin/ld: /home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_sort.c:560: undefined reference to `ucol_getSortKey_58'
/usr/bin/ld: ext/intl/collator/collator_create.o: in function `collator_ctor':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/collator/collator_create.c:49: undefined reference to `ucol_open_58'
/usr/bin/ld: ext/intl/common/common_error.o: in function `zif_intl_error_name':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/common/common_error.c:79: undefined reference to `u_errorName_58'
/usr/bin/ld: ext/intl/converter/converter.o: in function `zim_UConverter_getSubstChars':
/home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/converter/converter.c:610: undefined reference to `ucnv_getSubstChars_58'
/usr/bin/ld: /home/lighthouse/lnmp1.9/src/php-8.0.20/ext/intl/converter/converter.c:612: undefined reference to `u_errorName_58'

你折系统上php发现的icu版本为58,而系统自带的是66.1
有可能你系统上有个另外安装了58版本的icu导致的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-11-17 10:40:32 | 显示全部楼层

licess 发表于 2022-11-17 09:40
你折系统上php发现的icu版本为58,而系统自带的是66.1
有可能你系统上有个另外安装了58版本的icu导致的 ...

多谢帮助,经过你的指导,我重新安装了一下 libicu-dev 就可以了,昨天搞了一天没有找到原因
美国VPS推荐: 遨游主机LinodeLOCVPS主机云VPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2022-12-3 00:39 , Processed in 0.044880 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表