exa: Static binary downloaded from release not working, lacking libhttp_parser
I’ve downloaded the static binary of version v0.7.0 ( https://github.com/ogham/exa/releases/download/v0.7.0/exa-linux-x86_64-0.7.0.zip )
I try to run the binary exa-linux-x86_64, and get the error:
./exa-linux-x86_64: error while loading shared libraries: libhttp_parser.so.2.1: cannot open shared object file: No such file or directory
If I build exa myself with make, in the same system, the binary I’ve compiled works fine.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 20
- Comments: 26 (8 by maintainers)
Commits related to this issue
- Formalise exa-packaging script Every time I had to build exa, I copied the files manually and checked to make sure they all had the same name. There’s now a script that does all that stuff for me, so... — committed to ogham/exa by ogham 7 years ago
- Use my patched verson of git2-rs Now, the Vagrant VM uses my patched version of git2-rs, which has a modified build.rs file in libgit2-sys, which blocks libhttp_parser from being linked. As you can s... — committed to ogham/exa by ogham 7 years ago
A
sudo apt install libhttp-parser2.1fixed it for me on ubuntu17, but I don’t see why this tool would depend on a http parser.Fix for Fedora 26:
On Arch we have http-parser 2.7.1. Having this installed does not seem to help me.
You are actively developing a cool thing, that people like, for free. The fact you’re releasing binaries at all is awesome.
Seeing the same thing right now on Debian 8 (Jessie).
Installing
libhttp-parser-devfixed it as a workaround, but it would be nice if this could be included so that the binary was really self-contained.Problem seems to persist on Debian testing/buster and 0.8.0 Also, the package libhttp-parser2.1 is not available anymore on this distro, so this workaround out of the options.
I managed to fix my problem after I realized that the binary is now in the Arch Community repo. So I uninstalled
exa-gitthat I had gotten from the AUR, and installedexafrom the Community repo.There’s a new release out, and I’ve added a dependency-free VM to the Vagrantfile so I can actually test that problems like these don’t happen again.
Point is, though, I know I really shouldn’t have left this unresolved for this long, especially when the binary contradicted the home page. I’m still trying to get a handle on making regular releases. I can get in the zone to write code and fix bugs no problem, but I’ve never really been able to do the same for publishing releases or managing the community — something that’s become more and more of a problem as exa’s userbase grows.
I hope that with enough practice (and enough deployment automation!), there won’t ever be a problem like this again.
issue is still present (again) in version 947-git
@phxql, Fedora 26 too, but not exactly the best answer. Why?
http-parser-devel, it seems that there is nolibhttp_parser.so;So, after little bit of searching, I was able to fool exa work by running only one command: