日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

解决centos8 中安装mysql5.7.26时 libtinfo.so.5()(64bit)被依赖的问题

發布時間:2023/12/15 数据库 53 豆豆
生活随笔 收集整理的這篇文章主要介紹了 解决centos8 中安装mysql5.7.26时 libtinfo.so.5()(64bit)被依赖的问题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

libncurses.so.5 這些依賴呢都是放到/user/lib目錄下的 進去看之后其實可以發現有很多 但是 安裝mysql5.7.26的client端的時候 會一直報

警告:mysql-community-client-5.7.26-1.el7.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY 錯誤:依賴檢測失敗:libncurses.so.5()(64bit) 被 mysql-community-client-5.7.26-1.el7.x86_64 需要libtinfo.so.5()(64bit) 被 mysql-community-client-5.7.26-1.el7.x86_64 需要

這個其實是兩種原因

  • 第一種是系統中的確沒有這個libtinfo.so.5()(64bit)這個包
  • 第二種是系統中的這個libtinfo.so.5()(64bit)沒有被檢測到
  • 所以嘗試著用 ln -s libtinfo.so.5 /usr/lib/libncurses.so.5.9創建軟鏈接在當前的 software目錄下

    [root@master software]# ln -s libtinfo.so.5 /usr/lib/libncurses.so.5.9

    以為這樣會找到 但是安裝之后還是沒有

    dnf install ncurses-compat-libs

    之后用這行命令 安裝了 ncurses-compat-libs

    安裝之后呢 再嘗試安裝 mysql-community-client-5.7.26-1.el7.x86_64.rpm 和 mysql-community-server-5.7.26-1.el7.x86_64.rpm 這些的時候就直接可以安裝好了

    [root@master software]# rpm -ivh mysql-community-client-5.7.26-1.el7.x86_64.rpm 警告:mysql-community-client-5.7.26-1.el7.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY Verifying... ################################# [100%] 準備中... ################################# [100%] 正在升級/安裝...1:mysql-community-client-5.7.26-1.e################################# [100%] [root@master software]# rpm -ivh mysql-community-server-5.7.26-1.el7.x86_64.rpm 警告:mysql-community-server-5.7.26-1.el7.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY Verifying... ################################# [100%] 準備中... ################################# [100%] 正在升級/安裝...1:mysql-community-server-5.7.26-1.e################################# [100%] [/usr/lib/tmpfiles.d/libgpod.conf:1] Line references path below legacy directory /var/run/, updating /var/run/libgpod → /run /libgpod; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/libstoragemgmt.conf:1] Line references path below legacy directory /var/run/, updating /var/run/lsm → / run/lsm; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/libstoragemgmt.conf:2] Line references path below legacy directory /var/run/, updating /var/run/lsm/ipc → /run/lsm/ipc; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/mdadm.conf:1] Line references path below legacy directory /var/run/, updating /var/run/mdadm → /run/mda dm; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/mysql.conf:16] Line references path below legacy directory /var/run/, updating /var/run/mysqld → /run/m ysqld; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/radvd.conf:1] Line references path below legacy directory /var/run/, updating /var/run/radvd → /run/rad vd; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/spice-vdagentd.conf:2] Line references path below legacy directory /var/run/, updating /var/run/spice-v dagentd → /run/spice-vdagentd; please update the tmpfiles.d/ drop-in file accordingly. [root@master software]# mysqld --initialize 2020-01-12T03:08:18.202215Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_ for_timestamp server option (see documentation for more details). 2020-01-12T03:08:18.205248Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting. 2020-01-12T03:08:18.205310Z 0 [ERROR] Aborting

    使用mysql 正常

    總結

    以上是生活随笔為你收集整理的解决centos8 中安装mysql5.7.26时 libtinfo.so.5()(64bit)被依赖的问题的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。