Skip to content

rhel7.9 Failed to load Keytar module: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' #1587

Answered by zFernand0
couckearthur asked this question in Q&A
Discussion options

You must be logged in to vote

This sounds related to a recent roadblock we came across with CentOS 7
With @t1m0thyj 's help, we came up with this little script.

curl -fsSL https://rpm.nodesource.com/setup_14.x | bash - && yum install -y nodejs
yum install -y gcc-c++ libsecret-devel make python3 dbus-x11 gnome-keyring
npm install -g @zowe/cli --foreground-scripts --verbose
cd $(npm prefix -g)/lib/node_modules/@zowe/cli/node_modules/keytar && npm run build
mkdir -p $HOME/.local/share/keyrings
export $(dbus-launch) && echo root | gnome-keyring-daemon -r --unlock --components=secrets

Notes:

  • Some commands may require sudo access.
  • --foreground-scripts --verbose are there to help diagnose other issues that may occur.
  • If zow…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@couckearthur
Comment options

Answer selected by couckearthur
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants