Comments (9)
I wonder why the binary does not respect LD_LIBRARY_PATH
?
from code-server.
The machine is not under my control, so I'm not able to upgrade it 😢.
Thanks for your time @kylecarbs !
from code-server.
@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
andpackage.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
... ...
- Check with
ldd
or useCentOS
to start it ! For examples: https://img.vim-cn.com/6a/d3f5cf3b9f350eb873fa276038d08de0b5dd36.png
[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
from code-server.
I also have this problem too, I have a RHEL 7.6 machine but the latest version of libstdc++ I have is GLIBCXX_3.4.19, and code-server requires GLIBCXX_3.4.21.
from code-server.
@seuliang Maybe you should:
- Use
gdb your/command
and then print stack info(if enable debug), then reserch related error - Or
LD_DEBUG=libs your/command
see which library cannot load successfully
from code-server.
Your GLIBC version is out of date. We might be able to build for older targets. Will take a look at this, thanks for the report!
from code-server.
Can I rebuild it by myself on my centos machine? are there a build guildline ?
from code-server.
- CentOS
Thank you!
Could you explain the last step in detail?
When I run ./cli-linux-x64 --version
, i get segmentation fault (core dumped)
.
How can i fix this?
from code-server.
The build indeed worked on my RHEL system. Thanks!
System: Host: ***** Kernel: 3.10.0-693.2.2.el7.x86_64 x86_64 bits: 64 Console: tty 0
Distro: Red Hat Enterprise Linux Server release 7.6 (Maipo)
from code-server.
Related Issues (20)
- [Feat]: More sync between nixpkgs version and repo version HOT 5
- [Bug]: Shows blank screen when accessing from public network using VS code's port-forwarding HOT 1
- [Feat]: Update Code to 1.86 HOT 3
- [Bug]: Render *.ipynb file as json when openFile with payload in url HOT 1
- [Feat]: Add setting to keep extension host alive HOT 2
- [Bug]: Error: WebSocket close with status code 1006 HOT 3
- [Feat]: In the Code Server service, the webview in my extension plugin cannot be displayed. How to solve it? HOT 2
- [Feat]: In code-server,How to restrict users to only access files within the workspace directory HOT 2
- [Feat]: Missing assets for darwin arm64 HOT 1
- [Bug]: Some strings that contain colon(:) get converted to a link when copied on iPad HOT 3
- [Feat]: Docker images based on other distributions HOT 3
- [Feat]: how to open folder or server path through code server url param HOT 3
- [Feat]: Update the node.js version HOT 3
- [Bug]: PDF not refresh and not sync while using the latex-workshop extension HOT 28
- [Feat]: Tracking of User Logins HOT 3
- [Bug]: A slow SQl query is causing high database load HOT 1
- [Feat]: support windows-x86 and x64 HOT 1
- [Bug]: code-server does not start with error: version `GLIBC_2.25' not found HOT 2
- [Bug]: run command `yarn build:vscode`。Unexpected error occurred HOT 1
- [Bug]: Terminal closes immediately after opening it since v4.16.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code-server.