我想尝试在 RHEL5 上使用新的 Visual Studio Code。但是当我运行它时,它说我缺少一些依赖项。我该如何安装它们?
(15-08-07 19:21:25) <127> [~/VSCode]
dev-dsk % ./Code
./Code: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./Code)
./Code: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./Code)
./Code: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /local/home/kasper/VSCode/libnode.so)
./Code: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /local/home/kasper/VSCode/libnode.so)
./Code: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /local/home/kasper/VSCode/libgcrypt.so.11)
./Code: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /local/home/kasper/VSCode/libgcrypt.so.
答案1
这可能不是您正在寻找的答案,但要获得足够新的glibc
Visual Studio,您需要升级到 RHEL 7...
如果您不关心支持,您可以尝试从某个地方安装更新的 RPM,但我建议不要这样做。