Skip to content

Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found  #192

@WilliamTambellini

Description

@WilliamTambellini

Does this issue occur when all extensions are disabled?: Yes

Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
required by ~/Downloads/openvscode-server-v1.61.0-linux-x64/node_modules/spdlog/build/Release/spdlog.node

  • VS Code Version: 1.61.0
  • OS Version: CentOS 7

Steps to Reproduce:

  1. follow the guide in the readme
tar -xzf openvscode-server-v${OPENVSCODE_SERVER_VERSION}.tar.gz
cd openvscode-server-v${OPENVSCODE_SERVER_VERSION}
./server.sh
  1. see error

You are apparently considering that the OS libstdc++ is super recent, which not the case on most todays production machines (CentOS7, ubuntu18, ...).
You just have to embed/package the libstdc++ from gcc that you have built with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions