Rocky Linux 9.1 安装lnmp1.9 报错(MySQL安装失败)
请帮忙看看,多谢!
安装日志下载地址:
https://t.wss.ink/f/b6bagopiu2n
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for unistd.h
-- Looking for unistd.h - found
-- OPENSSL_INCLUDE_DIR = /usr/include
-- OPENSSL_LIBRARY = /usr/lib64/libssl.so
-- CRYPTO_LIBRARY = /usr/lib64/libcrypto.so
-- OPENSSL_MAJOR_VERSION =
-- OPENSSL_MINOR_VERSION =
-- OPENSSL_FIX_VERSION =
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
--
Cannot find appropriate system libraries for WITH_SSL=system.
Make sure you have specified a supported SSL version.
Valid options are :
system (use the OS openssl library),
yes (synonym for system),
</path/to/custom/openssl/installation>
CMake Error at cmake/ssl.cmake:63 (MESSAGE):
Please install the appropriate openssl developer package.
Call Stack (most recent call first):
cmake/ssl.cmake:306 (FATAL_SSL_NOT_FOUND_ERROR)
CMakeLists.txt:568 (MYSQL_CHECK_SSL)
-- Configuring incomplete, errors occurred!
See also "/root/lnmp1.9/src/mysql-5.7.38/CMakeFiles/CMakeOutput.log".
See also "/root/lnmp1.9/src/mysql-5.7.38/CMakeFiles/CMakeError.log".
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.
include/mysql.sh: line 614: /usr/local/mysql/bin/mysqld: No such file or directory
cp: cannot stat '/usr/local/mysql/support-files/mysql.server': No such file or directory
chmod: cannot access '/etc/init.d/mysql': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /etc/systemd/system/mysql.service.
include/mysql.sh: line 33: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 41: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 44: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
include/mysql.sh: line 47: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 54: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
include/mysql.sh: line 67: /etc/init.d/mysql: No such file or directory
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
include/mysql.sh: line 97: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 98: /etc/init.d/mysql: No such file or directory
Clean database src directory...
大家没有遇到过类似的问题吗? Rocky Linux 9 自带openssl版本是3.0,目前mysql 5.7是不支持的也没有相关的patch,mysql 8.0目前有相关的patch,要在openssl 3.0的系统上安装mysql 5.7只能使用lnmp 2.0选择二进制包方式或者另外安装一个低版本的openssl并且为mysql指定openssl版本
页:
[1]