-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap Package missing GLIBCXX_3.4.22 (bundled libstdc++ version too old) #155094
Comments
@meganrogge does vs code update snap packages? Not sure we'd want to ship a new GLIBCXX in the VS code snap package. |
I had thought snapcrafters updated snap packages, but when I checked, the snapcrafters vscode repo was archived and the current version of the snap package (1.69.1) indicates vscode official as the point of contact. |
I believe @joaomoreno would know that |
Sorry I'm not really sure how snap packages work. Does the vscode process run isolated from everything else? As in all of the packages it would use are installed next to it? Or does it use packages already installed on the system? I would expect the later, and if that's so, it would be up to the user to install a newer version of GLIBCXX |
Oh looks like it's the former: So the libstdc++ has to be in the snap package itself. |
The debug log seems to indicate it is loading |
That sounds like the snap core package? Perhaps the core package on your OS doesn't support the needed libstdc++? |
Oh no it's VS code's core package that would have to be updated. Similar problem here: |
Our current snap core is based on Ubuntu16.04 hence the Python ZMQ can either statically link with |
Issue Type: Bug
Python Jupyter extension requires GLIBCXX_3.4.22 in order to load dependency ZMQ. The Jupyter extension works fine without ZMQ for most use cases, but when environment variables are needed for certain Jupyter functionality, ZMQ is required (the alternative is restarting vscode). See microsoft/vscode-jupyter#9774 (comment)
However, the copy of libstdc++ inside of a snap package cannot be updated except via a snap package update.
Related #147440 #147166
VS Code version: Code 1.69.1 (b06ae3b, 2022-07-12T08:28:29.328Z)
OS version: Linux x64 5.15.0-40-generic snap
Restricted Mode: No
The text was updated successfully, but these errors were encountered: