当前位置:论坛首页 > Linux面板 > 求助

【已解答】Ubuntu18.04.6 宝塔面板安装nginx失败,提示缺失GD库

发表在 Linux面板2022-12-4 23:24 [复制链接] 2 5031

checking for SO_ACCEPTFILTER ... not foundchecking for SO_BINDANY ... not foundchecking for IP_TRANSPARENT ... foundchecking for IP_BINDANY ... not foundchecking for IP_BIND_ADDRESS_NO_PORT ... foundchecking for IP_RECVDSTADDR ... not foundchecking for IP_SENDSRCADDR ... not foundchecking for IP_PKTINFO ... foundchecking for IPV6_RECVPKTINFO ... foundchecking for TCP_DEFER_ACCEPT ... foundchecking for TCP_KEEPIDLE ... foundchecking for TCP_FASTOPEN ... foundchecking for TCP_INFO ... foundchecking for accept4() ... foundchecking for int size ... 4 byteschecking for long size ... 8 byteschecking for long long size ... 8 byteschecking for void * size ... 8 byteschecking for uint32_t ... foundchecking for uint64_t ... foundchecking for sig_atomic_t ... foundchecking for sig_atomic_t size ... 4 byteschecking for socklen_t ... foundchecking for in_addr_t ... foundchecking for in_port_t ... foundchecking for rlim_t ... foundchecking for uintptr_t ... uintptr_t foundchecking for system byte ordering ... little endianchecking for size_t size ... 8 byteschecking for off_t size ... 8 byteschecking for time_t size ... 8 byteschecking for AF_INET6 ... foundchecking for setproctitle() ... not foundchecking for pread() ... foundchecking for pwrite() ... foundchecking for pwritev() ... foundchecking for strerrordesc_np() ... not foundchecking for sys_nerr ... foundchecking for localtime_r() ... foundchecking for clock_gettime(CLOCK_MONOTONIC) ... foundchecking for posix_memalign() ... foundchecking for memalign() ... foundchecking for mmap(MAP_ANON|MAP_SHARED) ... foundchecking for mmap("/dev/zero", MAP_SHARED) ... foundchecking for System V shared memory ... foundchecking for POSIX semaphores ... not foundchecking for POSIX semaphores in libpthread ... foundchecking for struct msghdr.msg_control ... foundchecking for ioctl(FIONBIO) ... foundchecking for ioctl(FIONREAD) ... foundchecking for struct tm.tm_gmtoff ... foundchecking for struct dirent.d_namlen ... not foundchecking for struct dirent.d_type ... foundchecking for sysconf(_SC_NPROCESSORS_ONLN) ... foundchecking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... foundchecking for openat(), fstatat() ... foundchecking for getaddrinfo() ... foundconfiguring additional modulesadding module in /www/server/nginx/src/ngx_devel_kit+ ngx_devel_kit was configuredadding module in /www/server/nginx/src/lua_nginx_modulechecking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.0/ (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... foundchecking for export symbols by default (-E) ... foundchecking for export symbols by default (--export-all-symbols) ... not foundchecking for SO_PASSCRED ... foundchecking for __attribute__(constructor) ... foundchecking for malloc_trim ... found+ ngx_http_lua_module was configuredadding module in /www/server/nginx/src/ngx_cache_purge+ ngx_http_cache_purge_module was configuredadding module in /www/server/nginx/src/nginx-sticky-module+ ngx_http_sticky_module was configuredadding module in /www/server/nginx/src/nginx-dav-ext-module+ ngx_http_dav_ext_module was configuredchecking for zlib library ... foundchecking for libxslt ... foundchecking for libexslt ... foundchecking for GD library ... not foundchecking for GD library in /usr/local/ ... not foundchecking for GD library in /usr/pkg/ ... not foundchecking for GD library in /opt/local/ ... not found./configure: error: the HTTP image filter module requires the GD library.You can either do not enable the module or install the libraries.make: *** No rule to make target 'build', needed by 'default'. Stop.make: *** No rule to make target 'install'. Stop.

使用道具 举报 只看该作者 回复
发表于 2022-12-5 09:05:30 | 显示全部楼层
您好,您的这个是安装源的问题,您可执行此命令更换仓库
  1. wget http://download.bt.cn/tools/yum_apt_select.sh && bash yum_apt_select.sh
复制代码

也可以通过下面几个方法解决
1、挂载对应版本的镜像CD,选择安装源
2、服务器运营商提供安装源

使用道具 举报 回复 支持 反对
发表于 2024-4-2 12:33:48 | 显示全部楼层
好的。按照提示 已解决
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

工作时间:09:00至18:30

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