首页 > 数据库技术 > 详细

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

时间:2020-03-30 00:25:51      阅读:125      评论:0      收藏:0      [点我收藏+]
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依赖问题解决

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!