I only have 2.17 on RedHatEnterpriseServer 7.7, which runs code-server 3.2.0 perfectly.
However, it started to crash after the upgrade (to 3.3.0 and 3.3.1). Is it because of vscode upgrade or code-server that leverages the minimal version of glibc?
Below is the crash log:
Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /path/to/code-server-3.3.1-linux-x86_64/lib/vscode/node_modules/spdlog/build/Release/spdlog.node)
atObject.Module._extensions..node(internal/modules/cjs/loader.js:1250:18)atModule.load(internal/modules/cjs/loader.js:1049:32)atFunction.Module._load(internal/modules/cjs/loader.js:937:14)atModule.require(internal/modules/cjs/loader.js:1089:19)atModule.patchedRequire[asrequire](/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)atrequire(internal/modules/cjs/helpers.js:73:18)atbindings(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/node_modules/spdlog/node_modules/bindings/bindings.js:112:48)atObject.<anonymous>(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/node_modules/spdlog/index.js:3:35)atModule._compile(internal/modules/cjs/loader.js:1200:30)atObject.Module._extensions..js(internal/modules/cjs/loader.js:1220:10)atModule.load(internal/modules/cjs/loader.js:1049:32)atFunction.Module._load(internal/modules/cjs/loader.js:937:14)atModule.require(internal/modules/cjs/loader.js:1089:19)atModule.patchedRequire[asrequire](/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)atrequire(internal/modules/cjs/helpers.js:73:18)att.load(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:16:119)ate.load(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:13:586)ati(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:29:259)atObject.errorback(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:29:383)ate.triggerErrorback(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:13:955)at/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:13:659atReadFileContext.callback(/path/to/code-server-3.3.1-linux-x86_64/lib/vscode/out/vs/loader.js:16:494)atFSReqCallback.readFileAfterOpen[asoncomplete](fs.js:260:13){phase: 'loading',moduleId: 'spdlog',neededBy: ['===anonymous3===']}
BTW, I don't have privileges to upgrade glibc on the server.
Activity
nhooyr commented on May 21, 2020
Sorry about this, I forgot to document libcxx requirement. libc is different from libcxx.
I'll be sure to document this. In the meantime you can use the npm package. See the instructions in the README.
nhooyr commented on May 21, 2020
Good news we're gonna make it static in regards to libstdcxx!
So next release won't even depend on it and only depend on libc.
pwwang commented on May 21, 2020
Cool, thank you!
Minor fixes for install.sh and bundle in libstdc++
Minor fixes for install.sh and bundle in libstdc++
Minor fixes for install.sh and bundle in libstdc++