New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display all entries - hosty show command without parameters #4
Comments
I'm working on it |
Implemented in v1.1.0 |
not sure if you built the latest release on a new operating system but you seem to have introduced a dependency:
which I don't think is installed by default on ubuntu <= groovy or debian <= 11 |
lol! if I wanted to do it on purpose I wouldn't know how! |
@areYouLazy can confirm fixed. |
I really don't know, all I can tell you is the "bad" package as been built on a fresh Ubuntu 21.04 installation with golang from ppa, while the "working" one has been built on a macOS 11.3.1 with golang from brew |
ok thanks, by the way, feel free to close this issue |
I downloaded golang from the website and compile hosty with it but the link to libc.so.6 seems to be there.. root@testmachine:~/go/src/github.com/areYouLazy/hosty|master ⇒ ldd hosty-test
linux-vdso.so.1 (0x00007fff84915000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f50ac241000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f50ac055000)
/lib64/ld-linux-x86-64.so.2 (0x00007f50ac278000) |
Going further, I think it's a static/dynamic compilation problem. While compiling directly to ubuntu (with go build) generates a dynamic linked executable, the one ported from the macOS (also done with go build) is not a dynamic executable: root@testmachine:~/Downloads|⇒ ldd /usr/sbin/hosty
not a dynamic executable So I think the cross-compilation from macOS generates a static binary, while the native compilation on Ubuntu generates a dynamic-linked binary. And NOW I can close the issue! Thanks for your help! |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
it would be nice to be able to just type "hosty show" (without parameters) and receive all the current host file entries
or type "hosty show --json" and receive all the current entries in json format
The text was updated successfully, but these errors were encountered: