【发布时间】:2019-01-09 00:33:35
【问题描述】:
我已经在 RHEL 7.2 上安装了 Rocket.Chat,使用的手动过程位于: https://rocket.chat/docs/installation/manual-installation/centos
我在系统日志中收到以下错误:
Jan 7 16:39:20 ibmsitldct02 rocketchat: Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/Rocket.Chat/programs/server/node_modules/fibers/bin/linux-x64-57/fibers.node)
这是我在服务器上的 libstdc 库:
$ ls -lrt /lib64/libstdc*
-rwxr-xr-x 1 root root 830776 Mar 5 2015 /lib64/libstdc++.so.5.0.7
-rwxr-xr-x 1 root root 991616 Oct 30 06:39 /lib64/libstdc++.so.6.0.19
lrwxrwxrwx 1 root root 18 Dec 19 12:26 /lib64/libstdc++.so.5 -> libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 19 Jan 2 14:12 /lib64/libstdc++.so.6 -> libstdc++.so.6.0.19
不幸的是,3.4.20 版不包含 v6.0.19 我在服务器上:
$ strings /lib64/libstdc++.so.6.0.19 |grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH
Yum 提示它是最新的:
$ sudo yum install libstdc++.so.6
Plugin "search-disabled-repos" requires API 2.7. Supported API is 2.6.
Loaded plugins: langpacks, product-id, rhui-lb, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Package libstdc++-4.8.5-36.el7.i686 already installed and latest version
Nothing to do
有没有办法解决这个错误?
热烈的问候, Ankit
【问题讨论】:
标签: rocket.chat