1. I recently needed to install vscode on centos 7.2, and after installing it, I ran it and found that it kept reporting the following error

2. Using the #ldd code command, I found that libxkbcommon.so.0 is indeed missing

3. Then install libxkbcommon
yum install libxkbcommon
4. The following problems occur during operation
![]()
5. Then install NSS
yum install nss

6. Running, OK

Read More:
- [Solved] error while loading shared libraries: libmpc.so.3: cannot open shared object file
- [Solved] error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such…
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- [Solved] ××: error while loading shared libraries: ××.so.19: cannot open shared object file: No such file or directory
- [Solved] error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- [Solved] /usr/local/libexec/mecab/mecab-dict-index: error while loading shared libraries: libmecab.so.2: cannot open shared object file: No such file or directory
- [Solved] gawk: error while loading shared libraries: libreadline.so.4
- Error: loading shared libraries: cannot open shared object file: No such file or directory
- error while loading shared libraries: libmetis.so [How to Solve]
- [Solved] Error reported using telnet command in Centos7: telnet: error while loading shared libraries: libtinfo.so.6
- error while loading shared libraries: libz.so.1 [How to Solve]
- [Solved] Centos8 openssh Compile Error: error while loading shared libraries
- [Solved] error while loading shared libraries: libmysql.so.16
- Linux Execution Error “service mysqld start“error while loading shared libraries: libaio.so.1“
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- Linux Ubuntu Django Error: uwsgi: error while loading shared libraries: libpcre.so.1
- error while loading shared libraries [How to Solve]
- Error while loading shared libraries [How to Solve]
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library