linux安装maridb数据库jemalloc1依赖问题解决
一、安装环境
[email protected]:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
二、报错信息
[email protected]:~# apt install mariadb-server-core-10.1
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:
mariadb-server-core-10.1 : Depends: libjemalloc1 (>= 2.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
三、解决方法
- 编译安装jemalloc
- 下载地址:https://github.com/jemalloc/jemalloc/releases
3.解压文件
tar -zxjf jemalloc-5.2.1.tar.bz2
4.开始编译check
./autogen.sh
5.编译
make
6.安装
make install
结束。
原文地址:https://blog.51cto.com/13934722/2482807
时间: 2024-10-09 12:55:59