Git Product home page Git Product logo

Comments (18)

chengxuncc avatar chengxuncc commented on September 6, 2024 4

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

screenshot_20181009-124402
screenshot_20181009-124024

It seems to be a great way for packing by moving to vscode path

from codebuilds.

ConProgramming avatar ConProgramming commented on September 6, 2024 2

Any progress? My Samsung Chromebook Plus is sad, it still misses vs code

from codebuilds.

headmelted avatar headmelted commented on September 6, 2024

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?

from codebuilds.

ConProgramming avatar ConProgramming commented on September 6, 2024

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.

from codebuilds.

jmboulton avatar jmboulton commented on September 6, 2024

Finding the same issue on Jetson TX2 arm64 (ubuntu 16.04)

from codebuilds.

brentashley avatar brentashley commented on September 6, 2024

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

from codebuilds.

brentashley avatar brentashley commented on September 6, 2024

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.

from codebuilds.

headmelted avatar headmelted commented on September 6, 2024

from codebuilds.

brentashley avatar brentashley commented on September 6, 2024

Great, thanks! In the meantime, I've found these instructions to get it working on the Pinebook with armhf:

https://forum.pine64.org/showthread.php?tid=4491

from codebuilds.

ptrcnull avatar ptrcnull commented on September 6, 2024

Any progress? Same thing happening on Android chroot

from codebuilds.

gidoBOSSftw5731 avatar gidoBOSSftw5731 commented on September 6, 2024

I hate to bump, but on chromebook plus (crostini shell manually set to armhf) its the same issue!!

from codebuilds.

brusser avatar brusser commented on September 6, 2024

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

log for apt-get vscode headmelted.txt

from codebuilds.

chengxuncc avatar chengxuncc commented on September 6, 2024

I find this VS Code not working on Ubuntu when connected using XRDP.

from codebuilds.

headmelted avatar headmelted commented on September 6, 2024

from codebuilds.

thomasyonug avatar thomasyonug commented on September 6, 2024

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

screenshot_20181009-124402
screenshot_20181009-124024

It seems to be a great way for packing by moving to vscode path

it's work for me. Thank u bro.

from codebuilds.

danielhodder avatar danielhodder commented on September 6, 2024

This workaround no longer seems to work in the latest version (1.42.0).

from codebuilds.

danielhodder avatar danielhodder commented on September 6, 2024

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

from codebuilds.

Disctanger avatar Disctanger commented on September 6, 2024

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

screenshot_20181009-124402
screenshot_20181009-124024

It seems to be a great way for packing by moving to vscode path

from codebuilds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.