MySQL 5.5升级问题

MySQL 5.5升级问题

我正在尝试将“databases/mysql55-server”从 5.5.55 升级到 5.5.56

这些是我收到的错误。我最近将 readline 升级到版本 7。

知道我需要做什么来解决这个混乱吗?

$ sudo portmaster -r mysql55-server-5.5.55

===>>> Working on:
        mysql55-server-5.5.55

===>>> Gathering distinfo list for installed ports

===>>> mysql55-server-5.5.55 1/1

===>>> Currently installed version: mysql55-server-5.5.55
===>>> Port directory: /usr/ports/databases/mysql55-server

Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
===>>> Launching 'make checksum' for databases/mysql55-server in background
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
===>>> Gathering dependency list for databases/mysql55-server from ports
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
Shared object "libreadline.so.6" not found, required by "mysql"
===>>> Launching child to update mysql55-client-5.5.55 to mysql55-client-5.5.56

===>>> mysql55-server-5.5.55 1/1 >> mysql55-client-5.5.55 (1/1)

===>>> Currently installed version: mysql55-client-5.5.55
===>>> Port directory: /usr/ports/databases/mysql55-client

===>>> Launching 'make checksum' for databases/mysql55-client in background
===>>> Gathering dependency list for databases/mysql55-client from ports
===>>> Initial dependency check complete for databases/mysql55-client

===>>> Initial dependency check complete for databases/mysql55-server


===>>> Checking ports that depend on mysql55-server-5.5.55 


===>>> Checking done for ports that depend on mysql55-server-5.5.55 


===>>> Total ports: 1 >> (1)

===>>> The following actions will be taken if you choose to proceed:
        Upgrade mysql55-server-5.5.55 to mysql55-server-5.5.56
        Upgrade mysql55-client-5.5.55 to mysql55-client-5.5.56

===>>> Proceed? y/n [y]

答案1

几种可能性。我的第一个建议是只使用从软件包安装的版本;替换您当前安装的 - 这包括 readline 和 MySQL。但如果您确实需要 - 或想要 - 使用源端口:

首先,下载 ports 树 - portsnap fetch extract,或者,如果您已经拥有它,portsnap fetch update请将其更新到当前版本。

然后进入相关目录(/usr/ports/databases/mysql55-server),重建它,并重新安装:make clean all deinstall reinstall.您可能想对 /usr/ports/databases/mysql55-client 重复相同的操作。这会将其链接到您已安装的库,包括 libreadline。

相关内容