宝塔用户_vwkvsa 发表于 2023-8-23 21:29:12

【待反馈】nginx缺少依赖

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.1
系统版本:
问题描述:
相关截图(日志、错误):libluajit-5.1.so.2 => not found   libjemalloc.so.2 => not found

盏尽 发表于 2023-8-23 22:06:52

您好,面板中nginx安装后默认会装上这两个动态库文件,您可尝试卸载重装一下NGINX看是否正常

宝塔用户_vwkvsa 发表于 2023-8-24 08:51:13

堡塔运维盏尽 发表于 2023-8-23 22:06
您好,面板中nginx安装后默认会装上这两个动态库文件,您可尝试卸载重装一下NGINX看是否正常 ...

重试三遍了
不行

宝塔用户_vwkvsa 发表于 2023-8-24 08:54:40

堡塔运维盏尽 发表于 2023-8-23 22:06
您好,面板中nginx安装后默认会装上这两个动态库文件,您可尝试卸载重装一下NGINX看是否正常 ...

php也无法安装上去

宝塔用户_vwkvsa 发表于 2023-8-24 09:04:09

现在卸载也无法安装了

宝塔用户_vwkvsa 发表于 2023-8-24 09:04:44

cat: /www/server/panel/install/nginx/config.pl: No such file or directory
nginx.sh: line 326: cd: /www/server/nginx/src: No such file or directory
nginx.sh: line 336: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop

宝塔用户_vwkvsa 发表于 2023-8-24 09:05:15

CentOS Linux release 7.7.1908 (Core)
Bit:64 Mem:15884M Core:4 gcc:4.8.5 cmake:2.8.12.2
Linux 3.10.0-1062.18.1.el7.x86_64 x86_64

宝塔用户_vwkvsa 发表于 2023-8-24 09:08:46

php也无法安装
正在选择下载节点...
/usr/local/curl/bin/curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
--2023-08-24 09:06:04-- https://dg1.bt.cn/install/1/old/php.sh
Resolving dg1.bt.cn (dg1.bt.cn)... 42.157.129.47, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg1.bt.cn (dg1.bt.cn)|42.157.129.47|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 71208 (70K)
Saving to: ‘php.sh’

0K .......... .......... .......... .......... .......... 71% 620K 0s
50K .......... ......... 100% 1.98M=0.09s

2023-08-24 09:06:04 (770 KB/s) - ‘php.sh’ saved

正在选择下载节点...
|-Successify --- 命令已执行! ---

宝塔用户_vwkvsa 发表于 2023-8-24 09:09:37

正在选择下载节点...
--2023-08-24 09:05:51-- https://dg1.bt.cn/install/1/php.sh
Resolving dg1.bt.cn (dg1.bt.cn)... 42.157.129.47, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg1.bt.cn (dg1.bt.cn)|42.157.129.47|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8284 (8.1K)
Saving to: ‘php.sh’

0K ........ 100% 119M=0s

2023-08-24 09:05:51 (119 MB/s) - ‘php.sh’ saved

正在选择下载节点...
--2023-08-24 09:05:57-- https://download.bt.cn/install/public.sh
Resolving download.bt.cn (download.bt.cn)... 124.226.64.155, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to download.bt.cn (download.bt.cn)|124.226.64.155|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4377 (4.3K)
Saving to: ‘Tpublic.sh’

0K .... 100% 668M=0s

2023-08-24 09:05:58 (668 MB/s) - ‘Tpublic.sh’ saved

宝塔用户_vwkvsa 发表于 2023-8-24 09:20:13

checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for sched_setaffinity() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... not found
checking for SO_BINDANY ... not found
checking for IP_TRANSPARENT ... found
checking for IP_BINDANY ... not found
checking for IP_BIND_ADDRESS_NO_PORT ... found
checking for IP_RECVDSTADDR ... not found
checking for IP_SENDSRCADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for strerrordesc_np() ... not found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for ioctl(FIONREAD) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional modules
adding module in /www/server/nginx/src/ngx_devel_kit
+ ngx_devel_kit was configured
adding module in /www/server/nginx/src/lua_nginx_module
checking 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) ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... found
checking for __attribute__(constructor) ... found
checking for malloc_trim ... found
+ ngx_http_lua_module was configured
adding module in /www/server/nginx/src/ngx_cache_purge
+ ngx_http_cache_purge_module was configured
adding module in /www/server/nginx/src/nginx-sticky-module
./configure: error: no /www/server/nginx/src/nginx-sticky-module/config was found

宝塔用户_vwkvsa 发表于 2023-8-24 09:22:27

nginx卸载已经安装不上去了

宝塔用户_vwkvsa 发表于 2023-8-24 09:26:09

现在nginx安装上了 但是报错
/www/server/nginx/sbin/nginx: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory

执行这个 find / -name libjemalloc.so.2
显示这个 /usr/local/lib/libjemalloc.so.2

堡塔运维南一 发表于 2024-3-15 10:50:00

您好,这个问题解决了吗
页: [1]
查看完整版本: 【待反馈】nginx缺少依赖