VPS侦探论坛

标题: Rocky Linux 9.1 安装lnmp1.9 报错(MySQL安装失败) [打印本页]

作者: laowang    时间: 2023-5-10 16:47
标题: Rocky Linux 9.1 安装lnmp1.9 报错(MySQL安装失败)

请帮忙看看,多谢!

安装日志下载地址:

https://t.wss.ink/f/b6bagopiu2n

  1. -- Check size of off64_t
  2. -- Check size of off64_t - done
  3. -- Looking for unistd.h
  4. -- Looking for unistd.h - found
  5. -- OPENSSL_INCLUDE_DIR = /usr/include
  6. -- OPENSSL_LIBRARY = /usr/lib64/libssl.so
  7. -- CRYPTO_LIBRARY = /usr/lib64/libcrypto.so
  8. -- OPENSSL_MAJOR_VERSION =
  9. -- OPENSSL_MINOR_VERSION =
  10. -- OPENSSL_FIX_VERSION =
  11. -- Looking for SHA512_DIGEST_LENGTH
  12. -- Looking for SHA512_DIGEST_LENGTH - found
  13. --
  14. Cannot find appropriate system libraries for WITH_SSL=system.
  15. Make sure you have specified a supported SSL version.
  16. Valid options are :
  17. system (use the OS openssl library),
  18. yes (synonym for system),
  19. </path/to/custom/openssl/installation>

  20. CMake Error at cmake/ssl.cmake:63 (MESSAGE):
  21.   Please install the appropriate openssl developer package.

  22. Call Stack (most recent call first):
  23.   cmake/ssl.cmake:306 (FATAL_SSL_NOT_FOUND_ERROR)
  24.   CMakeLists.txt:568 (MYSQL_CHECK_SSL)


  25. -- Configuring incomplete, errors occurred!
  26. See also "/root/lnmp1.9/src/mysql-5.7.38/CMakeFiles/CMakeOutput.log".
  27. See also "/root/lnmp1.9/src/mysql-5.7.38/CMakeFiles/CMakeError.log".
  28. make: *** No targets specified and no makefile found.  Stop.
  29. make: *** No targets specified and no makefile found.  Stop.
  30. make: *** No rule to make target 'install'.  Stop.
  31. include/mysql.sh: line 614: /usr/local/mysql/bin/mysqld: No such file or directory
  32. cp: cannot stat '/usr/local/mysql/support-files/mysql.server': No such file or directory
  33. chmod: cannot access '/etc/init.d/mysql': No such file or directory
  34. Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /etc/systemd/system/mysql.service.
  35. include/mysql.sh: line 33: /etc/init.d/mysql: No such file or directory
  36. include/mysql.sh: line 41: /etc/init.d/mysql: No such file or directory
  37. include/mysql.sh: line 44: /usr/local/mysql/bin/mysqladmin: No such file or directory
  38. failed, try other way...
  39. include/mysql.sh: line 47: /etc/init.d/mysql: No such file or directory
  40. include/mysql.sh: line 54: /usr/local/mysql/bin/mysql: No such file or directory
  41. Set password failed!
  42. include/mysql.sh: line 67: /etc/init.d/mysql: No such file or directory
  43. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  44. Update root password...
  45. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  46. ... Failed!
  47. Remove anonymous users...
  48. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  49. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  50. ... Failed!
  51. Disallow root login remotely...
  52. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  53. ... Failed!
  54. Remove test database...
  55. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  56. ... Failed!
  57. Reload privilege tables...
  58. include/main.sh: line 859: /usr/local/mysql/bin/mysql: No such file or directory
  59. ... Failed!
  60. include/mysql.sh: line 97: /etc/init.d/mysql: No such file or directory
  61. include/mysql.sh: line 98: /etc/init.d/mysql: No such file or directory
  62. Clean database src directory...
复制代码



作者: laowang    时间: 2023-5-13 11:49
大家没有遇到过类似的问题吗?
作者: licess    时间: 2023-5-13 21:05
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版本




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4