liuhaibin 发表于 2023-12-26 09:40:47

2.0安装redis失败

Install redis-7.0.11 Stable Version...

Press any key to start...or Press Ctrl+c to cancel

Notice: redis-7.0.11.tar.gz not found!!!download now...
wget: symbol lookup error: /usr/lib64/libgnutls.so.30: undefined symbol: nettle_siv_gcm_aes256_decrypt_message, version NETTLE_8
Uncompress redis-7.0.11.tar.gz...
tar (child): redis-7.0.11.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cd redis-7.0.11...
include/main.sh: line 746: cd: redis-7.0.11: No such file or directory
make: *** No rule to make target 'install'.Stop.
cp: cannot stat 'redis.conf': No such file or directory
sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
grep: /usr/local/redis/etc/redis.conf: No such file or directory
sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
sed: can't read /usr/local/redis/etc/redis.conf: No such file or directory
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Redirecting to /bin/systemctl reload iptables.service
iptables.service is not active, cannot reload.
Notice: redis-5.3.7.tgz not found!!!download now...
wget: symbol lookup error: /usr/lib64/libgnutls.so.30: undefined symbol: nettle_siv_gcm_aes256_decrypt_message, version NETTLE_8
Uncompress redis-5.3.7.tgz...
tar (child): redis-5.3.7.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cd redis-5.3.7...
include/main.sh: line 746: cd: redis-5.3.7: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module

include/redis.sh: line 79: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target 'install'.Stop.
Add to auto startup...
Add redis service at system startup...
Synchronizing state of redis.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable redis
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpm NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
done
Job for redis.service failed because the control process exited with error code.
See "systemctl status redis.service" and "journalctl -xeu redis.service" for details.
Copy Redis PHP Test file...
Redis install failed!


liuhaibin 发表于 2023-12-26 09:51:50

php 7.4
Linux version 5.14.0-134.el9.x86_64 (mockbuild@x86-05.stream.rdu2.redhat.com) (gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2), GNU ld version 2.35.2-24.el9) #1 SMP PREEMPT_DYNAMIC Thu Jul 21 12:57:06 UTC 2022

licess 发表于 2023-12-28 09:01:09

yum update 一下再安装
页: [1]
查看完整版本: 2.0安装redis失败