clickhouse安装 Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
问题描述:
centos 用如下命令安装clickhouse时
yum install -y clickhouse-server clickhouse-client
报错:
--> Running transaction check
---> Package clickhouse-client.x86_64 0:19.8.3.8-1.el7 will be installed
---> Package clickhouse-server.x86_64 0:19.8.3.8-1.el7 will be installed
--> Processing Dependency: clickhouse-server-common = 19.8.3.8-1.el7 for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: clickhouse-common-static = 19.8.3.8-1.el7 for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Running transaction check
---> Package clickhouse-common-static.x86_64 0:19.8.3.8-1.el7 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.16)(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: clickhouse-common-static-19.8.3.8-1.el7.x86_64
---> Package clickhouse-server.x86_64 0:19.8.3.8-1.el7 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: clickhouse-server-19.8.3.8-1.el7.x86_64
---> Package clickhouse-server-common.x86_64 0:19.8.3.8-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libc.so.6(GLIBC_2.16)(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libicudata.so.50()(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libicuuc.so.50()(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libicudata.so.50()(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libicui18n.so.50()(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.17)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libicuuc.so.50()(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.17)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: clickhouse-common-static-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libicui18n.so.50()(64bit)
Error: Package: clickhouse-server-19.8.3.8-1.el7.x86_64 (Altinity_clickhouse)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
原因:
缺少libstdc++ 依赖
按照网上对libstdc++ 升级,又改/usr/lib/下的软连接,没什么用。后来注意到
--> Processing Dependency: clickhouse-common-static = 19.8.3.8-1.el7 for package: clickhouse-server-19.8.3.8-1.el7.x86_64
clickhouse-server-19.8.3.8-1.el7.x86_64 是centos7的包,我的系统是centos6,不一致导致找不到系统libstdc++的高版本。
突然想起来,自己下载安装脚本的时候,用的命令
curl -s https://packagecloud.io/install/repositories/altinity/clickhouse/script.rpm.sh | sudo os = centos dist = 7 bash
发现系统版本指定错了。
解决:
修改vi /etc/yum.repos.d/Altinity_clickhouse.repo 文件
[Altinity_clickhouse]
name=Altinity_clickhouse
baseurl=https://packagecloud.io/Altinity/clickhouse/el/6/$basearch //将这行的7改为系统版本对应的的6
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/Altinity/clickhouse/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[Altinity_clickhouse-source]
name=Altinity_clickhouse-source
baseurl=https://packagecloud.io/Altinity/clickhouse/el/6/SRPMS //将这行的7改为系统版本对应的的6
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/Altinity/clickhouse/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
将对应的版本改为系统版本6后,
# yum clean all 清一下
然后再安装
yum install -y clickhouse-server clickhouse-client
完事!
clickhouse安装 Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)的更多相关文章
- Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-8.0.12-1.el7.x86_64 (mysql80-community) Requires: libstdc++.s ...
- 解决类似 Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)的问题
源码编译升级安装了gcc后,编译程序或运行其它程序时,有时会出现类似/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found的问题.这 ...
- node 在centos 6.5 上 安装过程中出现/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.19' not found问题的解决
node 在centos 6.5 上 安装过程中出现/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.19' not found问题的解决 在linux ...
- clickhouse安装使用文档
Clickhouse简介 Clickhouse是什么 1. 开源的列存储数据库管理系统 2. 支持线性扩展 3. 简单方便 4. 高可靠性 5. 容错(支持多主机异步复制,可以跨多个数据中心部署. 单 ...
- 初识ClickHouse——安装与入门
前言: 久闻 ClickHouse 大名,一直没有去详细了解.近期看了下 ClickHouse 相关文档,决定安装体验下.想了解 ClickHouse 的小伙伴可以一起跟着学习哦.本篇文章主要介绍 C ...
- centos 6.5 编译安装了 Nginx1.6.0+MySQL5.6.19+PHP5.5.14
centos 6.5 编译安装了 Nginx1.6.0+MySQL5.6.19+PHP5.5.14--------------------------------------------------- ...
- Linux安装php-mysql提示需要:libmysqlclient.so.18()(64bit)的解决办法
Linux安装php-mysql提示需要:libmysqlclient.so.18()(64bit)的解决办法 在LNMP编译环境下安装zabbix会出现 执行:yum -y install net- ...
- ClickHouse安装使用(单机、集群、高可用)
Clickhouse版本:20.3.6.40-2 安装包地址:https://repo.yandex.ru/clickhouse/rpm/stable/x86_64/ 一.单机版 1.安装依赖 yum ...
- clickhouse安装数据导入及查询测试
官网 https://clickhouse.tech/ quick start ubantu wget https://repo.yandex.ru/clickhouse/deb/lts/main/c ...
随机推荐
- Word论文
粘贴图片不完整,只显示一行? 问题:行距被固定了 临时解决:设置多倍行距,推荐值1.5 1. 点一下图片,然后选择样式-正文 即可, 2. 或者为图片创建专用样式,需要时就点一下: 开始-样式(点样式 ...
- ThreadLocal 简单解析
ThreadLocal 简单解析 基于jdk1.8 ThreadLocal一定不陌生,开发中常用,也是面试里的常客了,但是往往我们可能只是知道该类的作用.学习该类对于个人的多线程编码能力是大有裨益的, ...
- jdk自带监控程序jvisualvm的使用
监控小程序的配置 生产环境tomcat的配置 编辑应用所在的tomcat服务器下的bin目录下的catalina.sh文件,修改如下: 配置如下内容: export JAVA_OPTS="- ...
- Office365激活方法(无需密钥)
@echo off title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo =============== ...
- vs2017 升级后无法启动 z
Visual Studio 2017 无法启动,进程中却有devenv.exe运行的解决办法 双击Visual Studio 2017,系统没有响应,在任务管理器中却发现devenv.exe 已经在运 ...
- JavaScript forEach() 方法
JavaScript forEach() 方法 JavaScript Array 对象 实例 列出数组的每个元素: <button onclick="numbers.forEach( ...
- java.sql.SQLException: Could not establish connection to 192.168.8.111:10000/default: java.net.ConnectException: Connection refused: connect at org.apache.hadoop.hive.jdbc.HiveConnection.<init>(HiveC
java.sql.SQLException: Could not establish connection to 192.168.8.111:10000/default: java.net.Conne ...
- 计算机基础 ---- 编码(er)
1.字符集与编码 字符集:字符组成的集合,汉字,字母,符号被收录到标准的字符集合 编码:规定每个字符使用一个字节还是多个字节存储,那些字节来存储的规定 术语:字符编码(character encodi ...
- HDU-1719 Friend 数学推导
Friend HDU - 1719 Friend number are defined recursively as follows. (1) numbers 1 and 2 are friend n ...
- Budgie Desktop in Linux 无法使用触摸板右键功能
问题描述 Budgie桌面在Linux环境下很好用,不过最近发现触摸板的右键功能是不可用的 解决方法 经查阅Gnome官方文档(Budgie有很多功能基于Gnome)发现是Gnome官方把这个功能去掉 ...