Score:0

How to fix libstdc++.so.6 dependency while installing google-cloud-cli-spanner-emulator?

ng flag

On centos 7 running as the root user: I ran the below command:

# yum install google-cloud-spanner-emulator

Below is the output:

Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile
 * base: centos-hcm.viettelidc.com.vn
 * extras: centos-hcm.viettelidc.com.vn
 * updates: centos-hcm.viettelidc.com.vn

kubernetes/x86_64/signature                                                                                     |  844 B  00:00:00     
Retrieving key from https://packages.cloud.google.com/yum/doc/yum-key.gpg
Importing GPG key 0x7AA99B80:
 Userid     : "Rapture Automatic Signing Key (cloud-rapture-signing-key-2022-03-07-08_01_01.pub)"
 Fingerprint: e89b faec 34d3 1829 362f 7f7b 5668 44f3 7aa9 9b80
 From       : https://packages.cloud.google.com/yum/doc/yum-key.gpg
Is this ok [y/N]: y
Retrieving key from https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

kubernetes/x86_64/signature                                                                                     | 1.4 kB  00:00:03 !!! 
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for kubernetes
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package google-cloud-cli-spanner-emulator.x86_64 0:381.0.0-1 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64 (google-cloud-cli)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64 (google-cloud-cli)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64 (google-cloud-cli)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: google-cloud-cli-spanner-emulator-381.0.0-1.x86_64 (google-cloud-cli)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-requests-2.6.0-10.el7.noarch has missing requires of python-urllib3 >= ('0', '1.10.2', '1')
Zeenath S N avatar
cn flag
Hi, is the issue fixed or are you still working on it?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.