当前位置:Gxlcms > 数据库问题 > linux安装maridb数据库jemalloc1依赖问题解决

linux安装maridb数据库jemalloc1依赖问题解决

时间:2021-07-01 10:21:17 帮助过:51人阅读

linux安装maridb数据库jemalloc1依赖问题解决

一、安装环境

root@aml:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic

二、报错信息

root@aml:~# 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.

三、解决方法

  1. 编译安装jemalloc
  2. 下载地址:https://github.com/jemalloc/jemalloc/releases
    技术图片
    3.解压文件
tar -zxjf  jemalloc-5.2.1.tar.bz2

技术图片

4.开始编译check

./autogen.sh

技术图片

5.编译

make  

技术图片

6.安装

make install

技术图片

结束。

linux安装maridb数据库jemalloc1依赖问题解决

标签:inf   bionic   ble   信息   required   wing   out   com   bio   

人气教程排行