-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
Sniffnet (installed from .deb) not starting on Debian 11 (stable) due to missing/not available libraries and versions #199
Comments
I built it on Ubuntu-latest, could this be the problem? |
Other folks already pointed out similar issues on Debian, while seems to work fine in Ubuntu. I'll come back to you when I have found a solution. In the meantime, it'd be amazing if you could build it with cargo (requires Rust installed). |
Thank you for looking into this.
Yes, this would explain it.
Ubuntu latest has completely different (newer) libraries than Debian (stable). Welcome to dependency hell on Linux. :D So: yes, it's definitely a compatibility problem between the binary compiled on/for Ubuntu, trying to be run on Debian. Maybe a static compiled binary could be the solution here (if that's possible) - or publishing as a Flatpak or AppImage. |
Thanks very much for your confirmation. And yes, managing all the different distros is a nightmare. @4r7if3x is going to help me package an AppImage / Flatpak in the future, and I will take care of pinging you. Maybe it's a stupid question but: could Homebrew work for you? |
Thank you very much! Much appreciated!
For me personally not, because I don't want another package manager on my system which I have to take care of. But maybe others could benefit? |
Yes, unfortunately, I've been quite busy lately and haven't been able to spend as much time as I'd like on testing and improving the new packaging feature. But it's definitely next up on my to-do list... |
Don't worry man! |
Same as #225, the issue is that the P.S. I've already addressed this issue in my incoming PR. |
hi, on mx-linux not working, when i try to open app, i received console to enter sudo password, after i enter sudo password, nothing happens, app not running :( |
Hi @onlineapps-cloud
|
I have the same issue on Linux Mint 20.3 |
You probably don't have |
I checked and it seems it is installed
|
May you please share the result of this command as well:
|
No it is not loaded. this is the full output when I try to start sniffnet and they grep for libssl
If there is a way to log in detail the start process let me know I can get you the log. I don't see any option that will allow me to collect them |
Right now using cargo is the solution. Small how to install ( tested on Ubuntu 20.04): Install cargo:
Install dependency (one is missing in documentation libfontconfig1-dev)
Start using:
This allow running sniffnet as regular user, not root. |
Thanks for pointing out. |
Hey @ZEROF @sysms @RP-11 @onlineapps-cloud We changed the building strategy and we are looking for feedback/testers to see if we finally solved this issue. Could you kindly try the new package available below? Sniffnet_LinuxDEB_amd64.deb.zip Thanks in advance. |
@GyulyVGC I can confirm, that this DEB (better: it's contents :) ) now work fine on Debian 11 (current stable)! Sniffnet now starts without errors. 🥇 Thank you for your efforts! EDIT: I'll leave this issue open for now, until the other affected people have also confirmed. |
Thanks for the confirmation! Don't worry about the issue, I will personally close it after other confirmations or eventually due to inactivity. I'm happy it's working for you for the moment!! |
Just tested, looks OK for me on BackBox linux, based on Ubuntu. GJ. |
Describe the bug
When installed from the current stable .deb (v1.2.0) on up-to-date Debian 11 (current stable), the binary cannot be launched.
To Reproduce
Describe steps to reproduce the bug, e.g.:
sniffnet: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
Expected behavior
Program should be started.
Desktop (please complete the following information):
Additional context
ldd /usr/bin/sniffnet | grep "not found"
/usr/bin/sniffnet: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.35' not found (required by /usr/bin/sniffnet) /usr/bin/sniffnet: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.33' not found (required by /usr/bin/sniffnet)/usr/bin/sniffnet: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.32' not found (required by /usr/bin/sniffnet) /usr/bin/sniffnet: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by /usr/bin/sniffnet)libssl.so.3 => not found
libcrypto.so.3 => not found
Available libraries on Debian 11:
ll /lib/x86_64-linux-gnu/libssl*
-rw-r--r-- 1 root root 398K 15. Feb 21:31 /lib/x86_64-linux-gnu/libssl3.so
-rw-r--r-- 1 root root 988K 5. Feb 22:23 /lib/x86_64-linux-gnu/libssl.a
lrwxrwxrwx 1 root root 13 5. Feb 22:23 /lib/x86_64-linux-gnu/libssl.so -> libssl.so.1.1
-rw-r--r-- 1 root root 584K 5. Feb 22:23 /lib/x86_64-linux-gnu/libssl.so.1.1
ll /lib/x86_64-linux-gnu/libcrypto*
-rw-r--r-- 1 root root 5,3M 5. Feb 22:23 /lib/x86_64-linux-gnu/libcrypto.a
lrwxrwxrwx 1 root root 16 5. Feb 22:23 /lib/x86_64-linux-gnu/libcrypto.so -> libcrypto.so.1.1
-rw-r--r-- 1 root root 3,0M 5. Feb 22:23 /lib/x86_64-linux-gnu/libcrypto.so.1.1
The text was updated successfully, but these errors were encountered: