Git Product home page Git Product logo

Comments (6)

unneon avatar unneon commented on August 22, 2024 1

I checked on a VM, and if the plugin is built with libssl 1.1 it doesn't work on 16.04, but if it is built with 1.0, it doesn't work on 19.04. Ubuntu doesn't seem to have a good way to install 1.0 on 19.04 or 1.1 on 16.04. Weirdly enough, it supports both on 18.04(and so does Arch).

I think I will just use static linking. It's not an ideal solution, but at least it will work out of the box everywhere.

from icie.

unneon avatar unneon commented on August 22, 2024

I guess it's probably some issue with dynamic linking of outdated OpenSSL, as it has caused some issues in the past. Or actually, exit code 127 can mean "Command not found" as if it couldn't run the executable. I will try to check out if the build system doesn't handle some paths incorrectly. Or actually, 127 can also mean the OpenSSL issue. I added more logging which should most likely won't should narrow down the problem, so could you please try again with the new version?

from icie.

mikaelmello avatar mikaelmello commented on August 22, 2024

Hey! I've actually found the problem yesterday, Ubuntu 16.04 ships with OpenSSL 1.0.2 while your linux binary tried to load libssl.so.1.1, so I downloaded and built that version (upgrading "officially" looks like it can break things).

I don't know which OS or Linux distro you're using, but perhaps you'd like to port evscode to a previous version of OpenSSL?

from icie.

unneon avatar unneon commented on August 22, 2024

Apparently Ubuntu 16.04 also has glibc 2.23, but Rust seems to run on 2.25+. So it shouldn't work yet, and a switch to musl will be necessary.

from icie.

mikaelmello avatar mikaelmello commented on August 22, 2024

Interestingly enough, I'm running wigh glibc 2.23 and it is working

from icie.

unneon avatar unneon commented on August 22, 2024

The version of glibc selected as minimal depends on the build environment. I'm running 2.29 and it selects 2.25(not sure why), but built with 2.23 selects something older. So unless I used an older distro for packaging, it would still crash when installed from marketplace.

from icie.

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.