Coder Social home page Coder Social logo

Comments (5)

hsanson avatar hsanson commented on May 16, 2024 1

Compiled locally and seems to work fine. This can be closed.

from sniprun.

michaelb avatar michaelb commented on May 16, 2024

Hi, this is quite....strange

I'm also on neovim@latest, and everything runs fine (you CAN'T be missing a bash interpreter, right?)

So, my guess is that for some reason (did you read the 'installation' part?), the install.sh script was not run, and thus you are missing a part of the project that deal with the receiving side of the RPC Channel; hence the error

btw, if you wish to run all the code, you can map a shortcut to (or execute) :%SnipRun

from sniprun.

hsanson avatar hsanson commented on May 16, 2024

Seems to be an issue with library compatibility?

SnipRun binary installs correctly:

[~/.config/nvim/bundle/sniprun]$ ./install.sh 
Runnning Sniprun Installer
Trying to get a up-to-date precompiled binary
Downloading binary..
Done

But running it fails:

[~/.config/nvim/bundle/sniprun]$ target/release/sniprun 
target/release/sniprun: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by target/release/sniprun)

Seems the precompiled binary it downloads is no good for my installation.

I already have the libc6-dev package installed so is a version compat issue.

from sniprun.

michaelb avatar michaelb commented on May 16, 2024

That's quite interesting.
The only non-fully-rust dependency has been removed as of 0.4.6, so you may want to retry now

Using cc="*" was necessay at some point, but not anymore, and it has external bindings to C libraries, so it may be the root of the problem. Unfortunately, our distributions differ (hence the problem) and I can't reproduce

If that does not fix this issue, I see no other solution than to tell the install script to compile sniprun locally (set "1"as argument to the install script as mentionned in the installation part), though it also require the rust toolchain

from sniprun.

michaelb avatar michaelb commented on May 16, 2024

Hi, has the patch (or the workaround, was it necessary?) worked for you?

I'd like to close this issue and update adequately the README :-)

from sniprun.

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.