Comments (16)
Seconded. Having a multitude of debian and ubuntu systems that still are actively supported (e.g. 16.04, 18.04 as LTS versions), using a library version that not even the current LTS can natively run is not a good idea.
Perhaps consider lowering the dependencies or building a statically linked version for linux x64 as servers never tend to run "in-between" or bleeding edge versions of OS'es ;)
from dog.
This error is a side-effect of me building on one version of Linux, only testing on that same version of Linux, then (incorrectly!) assuming that it would work for slightly older versions too. This happened to me once before when exa
accidentally required a library that I happened to have on my own machine β I didn't notice, but everyone else did!
I'll do my best to support more versions and architectures in the next release.
from dog.
What about a musl build?
from dog.
Ok, I've compiled myself and add everything into https://packages.azlux.fr/
It's an apt repository based on github release. Since the release don't have runnable binary, I've disabled the auto-update (I will do manually until @ogham fix the current issue, and maybe add arm build too (#33))
The build script is on the website. Autocompletion and manual are also installed automatically.
from dog.
Ubuntu 20.04 (Focal) has libc6 of version 2.31 by default, however dog which is available here was compiled against libc6 of version 2.32, and this version of libc6 will be available only in Ubuntu 20.10 (Groovy). It might be much easier to recompile it yourself for 20.04. Or you can take mine.
from dog.
Ok, I've compiled myself and add everything into https://packages.azlux.fr/ It's an apt repository based on github release. Since the release don't have runnable binary, I've disabled the auto-update (I will do manually until @ogham fix the current issue, and maybe add arm build too (#33))
The build script is on the website. Autocompletion and manual are also installed automatically.
The direct link to download is https://packages.azlux.fr/debian/pool/main/d/dog/
from dog.
I have a sidetrack mirror CI project where I've done a musl build, the pipeline is available on https://gitlab.com/mirrorbuilds/dog/-/pipelines
The CI config is also available on https://gitlab.com/mirrorbuilds/ci-configs/-/blob/master/dog/.gitlab-ci.yml
cc @jc00ke
from dog.
May be build dog on old version glibc? Where build dog now?
from dog.
You can also compile a static binary using musl libc. You just need to add the openssl dependency with the vendored features mentioned in the documentation.
I added to the root Cargo.toml the dependency :
openssl = { version = "0.10", features = ["vendored"] }
And compiled using musl target :
cargo build --target x86_64-unknown-linux-musl --release
from dog.
same
dog: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by dog)
from dog.
It's the same on Debian.
Azlux@testdevice:~/bin$ sudo apt list libc6
Listing... Done
libc6/stable,now 2.28-10 amd64 [installed]
Azlux@testdevice:~/bin$ ./dog
./dog: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./dog)
Azlux@testdevice:~/bin$
Is that possible to be glibc independent or to use a lower version for public release ?
from dog.
Same issue
from dog.
No news about this issue ?
from dog.
Everyone who is on Debian based distribution, you can adapt the Dockerfile found on master
branch to build the executable from source and then copy in on your system.
For instance :
FROM rust
WORKDIR /build
COPY /src /build/src
COPY /dns /build/dns
COPY /dns-transport /build/dns-transport
COPY /man /build/man
COPY build.rs Cargo.toml /build/
RUN cargo build --release
Then:
docker build -t dog .
docker run --rm -it -d --name dog dog:latest
docker cp dog:/build/target/release/dog ./
docker stop dog
Using rust:latest
image, the produced executable works on Ubuntu 20.04, but you can take an older image like rust:stretch
if it is not the case for you.
from dog.
Same here with latest openSUSE 15.3:
./dog: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./dog)
Latest glibc on latest openSUSE 15.3 is "only" 2.31β¦ π
from dog.
@ayanamist , hm, no RPMs overthereβ¦ I'm currently fine with the docker-solution ππ»
from dog.
Related Issues (20)
- MacOS keychain trust not as expected HOT 2
- Why are there large time differences between dig and dog?
- arm64 release HOT 1
- thread 'main' panicked at 'Invalid HTTPS nameserver', dns-transport/src/https.rs:55:50
- --time prints times which aren't real HOT 1
- valid TXT answer is considered invalid HOT 2
- Commandline Interface on Windows 10 Problem with Output HOT 1
- Error when attempting to run HOT 16
- Can dog support ARM linux? HOT 1
- What's the time meaning HOT 1
- why does dog only retrieve 1 TXT record? HOT 3
- Security certificate checking
- `Error [network]: No such host is known. (os error 11001)` window 11 HOT 2
- Compatible mainstream glibc version is 2.17 HOT 1
- brew formula is deprecated or disabled HOT 8
- Could not find openssl on build (fix included) HOT 2
- dqy: A DNS query tool HOT 4
- Let's teach an old dog some new tricks
- "error" IPv6 windows == too long answer DoH/DoT
- Panic crash when using `-H` argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dog.