gpt4 book ai didi

ruby-on-rails - mariadb 带 rails : can't install libmysqlclient-dev

转载 作者:行者123 更新时间:2023-12-04 07:36:19 24 4
gpt4 key购买 nike

我在 64 位 Ubuntu 15:10 上安装了 mariadb-10.1。

我已成功安装 libmysqlclient18,但在尝试安装 libmysqlclient-dev 时出现错误。

steve@steve:~$ dpkg -s libmysqlclient18
Package: libmysqlclient18
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 10
Maintainer: MariaDB Developers <maria-developers@lists.launchpad.net>
Architecture: amd64
Source: mariadb-10.1
Version: 10.1.13+maria-1~wily
Replaces: libmysqlclient18 (<< 10.1.13+maria-1~wily)
Depends: libmariadbclient18 (= 10.1.13+maria-1~wily)
Description: Virtual package to satisfy external depends
This is an empty package that provides an updated "best" version of
libmysqlclient18 that does not conflict with the libmariadbclient18
package.
.
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and
ease of use.
Homepage: http://mariadb.org/
steve@steve:~$ sudo apt-get install libmysqlclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
libmysqlclient-dev : Depends: libmysqlclient18 (= 5.6.28-0ubuntu0.15.10.1) but 10.1.13+maria-1~wily is to be installed
E: Unable to correct problems, you have held broken packages.

谁能建议如何解决这个问题?

谢谢 :-)

史蒂夫

最佳答案

使用 MariaDB 时必须安装 libmariadbclient-dev 而不是 libmysqlclient-dev

sudo apt-get install libmariadbclient-dev

关于ruby-on-rails - mariadb 带 rails : can't install libmysqlclient-dev,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36767081/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com