question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not work on CentOS

See original GitHub issue
  • code-server version: code-server-1.31.0-20-x86_64-linux
  • OS Version: CentOS release 6.10 (Final)

Steps to Reproduce

$ ./code-server --help
./code-server: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./code-server)
./code-server: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./code-server)
./code-server: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./code-server)
./code-server: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./code-server)
./code-server: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by ./code-server)
./code-server: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./code-server)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
activatedgeekcommented, Mar 13, 2019

I wonder why the binary does not respect LD_LIBRARY_PATH?

5reactions
uddmorningsuncommented, Mar 9, 2019

@jianbingfang @ly2314 @CCv5 FYI :

  • Install development tools
[yancy@localhost ~]$ docker run -ti --rm --network host centos:7.4.1708 /bin/bash

[root@localhost /]# curl -L -O  https://repo.continuum.io/archive/Anaconda3-5.0.0-Linux-x86_64.sh
[root@localhost /]# yum install -y git bzip2 gcc gcc-c++ make libX11-devel.x86_64 libxkbfile-devel.x86_64 libsecret-devel.x86_64
[root@localhost /]# bash /Anaconda3-5.0.0-Linux-x86_64.sh -b -f -p /root/conda3

[root@localhost /]# vi /root/conda3/condarc
auto_update_conda: false
channel_priority: false
override_channels_enabled: true
show_channel_urls: true
notify_outdated_conda: false

[root@localhost /]# source /root/conda3/bin/activate
(root) [root@localhost /]# conda install -y nodejs=8
... ...
nodejs:       8.12.0-he6710b0_0 defaults
libgcc-ng:    7.2.0-hcbc56d2_1  defaults --> 8.2.0-hdf63c60_1 defaults
libstdcxx-ng: 7.2.0-h24385c6_1  defaults --> 8.2.0-hdf63c60_1 defaults
... ...
(root) [root@localhost /]# conda install -y -c conda-forge yarn
... ...

  • Get project and install project all dependencies using yarn and package.json
[root@localhost /]# git clone https://github.com/codercom/code-server /tmp/code-server

(root) [root@localhost scripts]# pwd
/tmp/code-server/scripts
(root) [root@localhost scripts]# yarn install
yarn install v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
... ...

(root) [root@localhost scripts]# bash -x build.sh
+ set -e
+ yarn task build:server:binary
yarn run v1.13.0
$ ts-node -r tsconfig-paths/register build/tasks.ts build:server:binary
... ...
[root@localhost server]# pwd
/tmp/code-server/packages/server
[root@localhost server]# ./cli-linux-x64 --version
server/0.0.0 linux-x64 node-v8.12.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

CentOS 7 - yum install not working - Unix Stack Exchange
yum clean all & yum clean metadata · Check the files in /etc/yum.repos.d and make sure that they don't all have enabled =...
Read more >
Yum Update Not Working on Centos 7 - Psychz Networks
It seems that the 'yum update' is causing some issue when you try to run an update. The YUM allows you to easily...
Read more >
How to solve internet connection problem on centos - YouTube
0:00 · New! Watch ads now so you can enjoy fewer interruptions. Got it ...
Read more >
ping command not working in CentOS - Stack Overflow
It works fine, if you ask me. The problem is somewhere else: either a name server is not properly set or it is...
Read more >
Find with regex not working on CentOS 7 [closed] - Server Fault
But not working. I have 20 files in /etc which name begin of a, but my regexp not find this files. What i...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found