Open ConProgramming opened 7 years ago
There was a typo in the installer script that has since been rectified (and should hopefully fix your problem!)
Can you try deleting the chroot and starting over - using "code" to launch the application?
I reinstalled, and when I type in "code" I get "-su: code: command not found" and when I type in "code-oss" instead, the same error occurs.
Finding the same issue on Jetson TX2 arm64 (ubuntu 16.04)
I am getting the same issue on a Pinebook using Ubuntu 16.04.2. The file seems there but not there when you try to run it. I can open the file with less or strings etc but cannot execute it from either bash or sh.
$ uname -a Linux pinebook 3.10.105-bsp-1.2-ayufan-59 #1 SMP PREEMPT Sat May 13 12:39:31 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
$ code-oss /usr/bin/code-oss: line 35: /usr/share/code-oss/bin/../code-oss: No such file or directory
$ ls -l /usr/share/code-oss/bin/../code-oss -rwxr-xr-x 1 root root 53258884 Apr 7 05:09 /usr/share/code-oss/bin/../code-oss
$ /usr/share/code-oss/bin/../code-oss bash: /usr/share/code-oss/bin/../code-oss: No such file or directory
$ strings /usr/share/code-oss/bin/../code-oss | head -1 /lib/ld-linux-armhf.so.3
I have kept the unresovled bin/../ in the examples here but the result is the same with /usr/share/code-oss/code-oss
The strings output is interesting - looks like the link library it is expecting to find is /lib/ld-linux-armhf.so.3
I do not have that file - the nearest name is /lib/ld-linux-aarch64.so.1
I guess I will have to compile for my target.
You might have trouble, as the dependency chain (libchromiumcontent and Electron) will also need to be compiled for aarch64 I expect.
The good news is that I'm working on this right now, the bad news is that I don't know how long it'll take to get released I'm afraid.
On Fri, Jun 23, 2017 at 4:01 PM, Brent Ashley notifications@github.com wrote:
The strings output is interesting - looks like the link library it is expecting to find is /lib/ld-linux-armhf.so.3
I do not have that file - the nearest name is /lib/ld-linux-aarch64.so.1
I guess I will have to compile for my target.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/headmelted/codebuilds/issues/24#issuecomment-310689291, or mute the thread https://github.com/notifications/unsubscribe-auth/AKYVoLlSHY0eei-Gwz4S9CV-WULSJIZXks5sG9NDgaJpZM4N2bY- .
Great, thanks! In the meantime, I've found these instructions to get it working on the Pinebook with armhf:
Any progress? My Samsung Chromebook Plus is sad, it still misses vs code
Any progress? Same thing happening on Android chroot
I hate to bump, but on chromebook plus (crostini shell manually set to armhf) its the same issue!!
I also force installed it on a chromebook plus (crostini) which is aarch64. Realized it is not officially supported but it seems to install but then I run the code-oss command and get this error
Here is some details: $ sudo ./apt.sh Detecting architecture... Architecture detected as aarch64... Installing headmelted GPG key... E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation Done! Installing headmelted repository... deb https://packagecloud.io/headmelted/codebuilds/ubuntu/ xenial main
rest is just usual install log had to proceed unverified but no errors in the install
Attached the full log
Looking at these issues now, working to resolve these asap 🙂
On Tue, Oct 9, 2018, 05:35 chengxuncc notifications@github.com wrote:
I find this VS Code not working on Ubuntu when connected using XRDP. https://github.com/Microsoft/vscode/issues/3451
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/headmelted/codebuilds/issues/24#issuecomment-428056606, or mute the thread https://github.com/notifications/unsubscribe-auth/AKYVoJubzdWPV1BGgYe12HvtkbX9NzWMks5ujCeCgaJpZM4N2bY- .
All right,I get it worked on my android linux deploy. ubuntu 18.04 arm64 xfce with xtightvnc
it's /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 for me arm64
sudo cp /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0.bak
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0
It seems to be a great way for packing by moving to vscode path
All right,I get it worked on my android linux deploy. ubuntu 18.04 arm64 xfce with xtightvnc
it's /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 for me arm64
sudo cp /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0.bak
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0
It seems to be a great way for packing by moving to vscode path
it's work for me. Thank u bro.
This workaround no longer seems to work in the latest version (1.42.0).
It seems that if you sed the file and put it in /usr/share/code-oss/libxcb.so.1
that does work. Here's the command I ran:
$ sed 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 | sudo tee /usr/share/code-oss/libxcb.so.1 > /dev/null
I am also using android linux deploy/Ubuntu 18.04 I can confirm that in 1.39 version, this solution worked for me. Thanks @chengxuncc
All right,I get it worked on my android linux deploy. ubuntu 18.04 arm64 xfce with xtightvnc
it's /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 for me arm64
sudo cp /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0 /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0.bak
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/aarch64-linux-gnu/libxcb.so.1.1.0
It seems to be a great way for packing by moving to vscode path
When I type "code-oss" into the terminal to launch it, it always gives me the error "/usr/bin/code-oss: line 35: /usr/share/code-oss/bin/../code-oss: No such file or directory". Is there a way to fix this so I can successfully launch Code-OSS?