宝塔51特惠活动,企业版1099元/年,送SSL证书,最高立减2万元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【待反馈】nginx卸载后重新安装一直失败

发表在 Linux面板2024-2-28 23:42 [复制链接] 1 1517

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:Linux 8.05

系统版本:centos 7.9.2009

问题描述:一开始是nginx运行不正常,也无法更新到新版本,然后就卸载nginx,然后再安装就一直无法安装

相关截图(日志、错误):正在选择下载节点...
--2024-02-28 23:36:18-- https://dg2.bt.cn/install/0/nginx.shResolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 25335 (25K) [application/octet-stream]Saving to: ‘nginx.sh’0K .......... .......... .... 100% 103M=0s2024-02-28 23:36:18 (103 MB/s) - ‘nginx.sh’ saved [25335/25335]https://dg2.bt.cn--2024-02-28 23:36:19-- https://dg2.bt.cn/src/mcrypt-2.6.8.tar.gzResolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 471915 (461K) [application/octet-stream]Saving to: ‘mcrypt-2.6.8.tar.gz’0K .......... .......... .......... .......... .......... 10% 1.22M 0s50K .......... .......... .......... .......... .......... 21% 1.28M 0s100K .......... .......... .......... .......... .......... 32% 33.0M 0s150K .......... .......... .......... .......... .......... 43% 1.31M 0s200K .......... .......... .......... .......... .......... 54% 112M 0s250K .......... .......... .......... .......... .......... 65% 6.31M 0s300K .......... .......... .......... .......... .......... 75% 5.60M 0s350K .......... .......... .......... .......... .......... 86% 2.12M 0s400K .......... .......... .......... .......... .......... 97% 98.7M 0s450K .......... 100% 228M=0.2s2024-02-28 23:36:19 (2.86 MB/s) - ‘mcrypt-2.6.8.tar.gz’ saved [471915/471915]checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for style of include used by make... GNUchecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking dependency style of gcc... gcc3checking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by gcc... /bin/ldchecking if the linker (/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /bin/nm -Bchecking the name lister (/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking for /bin/ld option to reload object files... -rchecking how to recognize dependent libraries... pass_allchecking for ar... archecking for strip... stripchecking for ranlib... ranlibchecking command to parse /bin/nm -B output from gcc object... okchecking how to run the C preprocessor... gcc -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if gcc supports -fno-rtti -fno-exceptions... nochecking for gcc option to produce PIC... -fPIC -DPICchecking if gcc PIC flag -fPIC -DPIC works... yeschecking if gcc static flag -static works... nochecking if gcc supports -c -o file.o... yeschecking if gcc supports -c -o file.o... (cached) yeschecking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... yeschecking for gcc... (cached) gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for gcc option to accept ISO C89... (cached) none neededchecking dependency style of gcc... (cached) gcc3checking for libmcrypt-config... /usr/local/bin/libmcrypt-configchecking for libmcrypt - version >= 2.5.0... yeschecking for mhash_keygen in -lmhash... noconfigure: error: "You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"make: *** No targets specified and no makefile found. Stop.make: *** No rule to make target `install'. Stop.install_soft.sh: line 24: nginx.sh: No such file or directory


使用道具 举报 只看该作者 回复
发表于 2024-2-29 10:06:51 | 显示全部楼层
  1. yum install mhash-devel -y
复制代码

尝试重新安装一下
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析
快速回复 返回顶部 返回列表