Skip to content
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

libssl error in Debian with v1.1.3 #138

Closed
mcstafford-git opened this issue Apr 13, 2023 · 1 comment
Closed

libssl error in Debian with v1.1.3 #138

mcstafford-git opened this issue Apr 13, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists Linux Something related to Linux operating system

Comments

@mcstafford-git
Copy link

Describe the bug

Installing v1.1.3/Sniffnet_Linux.deb in debian:bullseye-20230411 yields errors:

ldd /usr/bin/sniffnet 2>&1 | grep 'not found'

#9 33.40 /usr/bin/sniffnet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35'
  not found (required by /usr/bin/sniffnet)
#9 33.40 /usr/bin/sniffnet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33'
  not found (required by /usr/bin/sniffnet)
#9 33.40 /usr/bin/sniffnet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32'
  not found (required by /usr/bin/sniffnet)
#9 33.40 /usr/bin/sniffnet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34'
  not found (required by /usr/bin/sniffnet)
#9 33.40 	libssl.so.3 => not found
#9 33.40 	libcrypto.so.3 => not found

To Reproduce

Dockerfile:

# syntax=docker/dockerfile:1.5.2
FROM debian:bullseye-20230411

SHELL ["/bin/bash", "-o", "nounset", "-o", "pipefail", "-o", "errexit", "-o", "xtrace", "-c"]

RUN <<#-END-RUN
apt-get update
apt-get upgrade -y
DEBIAN_FRONTEND='noninteractive' apt-get install -y \
  libcap2-bin \
  libpcap-dev \
  libasound2-dev \
  libfontconfig \
  libfontconfig1-dev \
  wget
wget https://github.com/GyulyVGC/sniffnet/releases/download/v1.1.3/Sniffnet_Linux.deb
dpkg -i ./Sniffnet_Linux.deb
ls -alFh /usr/bin/sniffnet
ldd /usr/bin/sniffnet 2>&1 |
  grep 'not found'
#-END-RUN

docker buildx build --no-cache --tag=sniffer-bullseye .

Expected behavior
No missing dependencies.

@GyulyVGC
Copy link
Owner

I tried hard building a dockerfile (see #69) but I failed with other errors.
After having solved the errors mentioned in #69 I updated the dockerfile and got the same exact error of yours.
If you have a Debian like distro I suggest you to install the DEB package directly.
Otherwise you can download from cargo or the other installers.
I'm closing since this is an already known problem, but don't hesitate to write here again or in #69 in case of further doubts/problems.

@GyulyVGC GyulyVGC added bug Something isn't working duplicate This issue or pull request already exists labels Apr 13, 2023
@GyulyVGC GyulyVGC added the Linux Something related to Linux operating system label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists Linux Something related to Linux operating system
Projects
None yet
Development

No branches or pull requests

2 participants