The Attempt:
This was my first attempt to clone a Github repository on Xubuntu (XFCE
Desktop) using VSCode. I did not have this problem with Ubuntu (Gnome
Desktop).
-
VSCode Version
Version: 1.90.2Commit: 5437499feb04f7a586f677b155b039bc2b3669ebDate: 2024-06-18T22:33:48.698ZElectron: 29.4.0ElectronBuildId: 9728852Chromium: 122.0.6261.156Node.js: 20.9.0V8: 12.2.281.27-electron.0OS: Linux x64 5.15.0-113-generic snap
-
Git Version
root# git --versiongit version 2.34.1
-
XUbuntu Version
root# lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 22.04.4 LTSRelease: 22.04Codename: jammyroot# dpkg -l '*-desktop' | grep ^ii | grep 'ubuntu-'ii xubuntu-desktop 2.241 amd64 Xubuntu desktop system
The Error Message:
I received an error that included the following:
git clone https://github.com/USER/REPO.git /home/USER/github/REPO --progress/snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libproxy.so.1)
(USER is my username and REPO is the repository name.)
Troubleshooting:
I searched Google and found a myriad of solutions that included:
- Update from "snap20" to "snap22"
- Remove/Reinstall VSCode
- Modify "snapcraft.yaml"
I confirmed my "snap22" library contained the needed GLIBCXX_3.4.29 module.
However, I didn't like any of those solutions because they required some
underlying "tweeking" that has caused trouble in the past.
The Solution:
I stumbled onto this solution accidentally, and I don't know why it works. Run
these commands using the "Git Bash Terminal" in VSCode
cd /home/USER/githubgit clone https://github.com/USER/REPO.git REPO --progress
No comments:
Post a Comment