码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2020-03-30 00:12:11      阅读:78      评论:0      收藏:0      [点我收藏+]

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

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.

三、解决方法

  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   

原文地址:https://blog.51cto.com/13934722/2482807

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有 京ICP备13008772号-2
迷上了代码!