Coder Social home page Coder Social logo

hcxpcaptool - about hcxtools HOT 6 CLOSED

zerbea avatar zerbea commented on May 18, 2024
hcxpcaptool -

from hcxtools.

Comments (6)

ZerBea avatar ZerBea commented on May 18, 2024

Is version 1.1 of libcrypto mandatory?
No
Or 1.0.0 can work ?
Yes
The issue is related to you environment and not to hcxtools

Arch Linux:
$ which openssl
/usr/bin/openssl
$ ldd /usr/bin/openssl
linux-vdso.so.1 (0x00007ffcb17eb000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f2ed8d87000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f2ed890a000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2ed86ec000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f2ed8330000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2ed812c000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f2ed928f000)

The lib is expected to find in /usr/lib and not in /usr/lib/x86_64-linux-gnu/
openssl/openssl#4824

BTW:
Ths issue (and many others) is the main reason, why I recommend Arch Linux.
If intervention is required, it is mentioned here:
https://www.archlinux.org/

from hcxtools.

adrastee avatar adrastee commented on May 18, 2024

Thanks, alright, it founds libcrypto now, but a new error raise:

gcc -std=gnu99 -O3 -Wall -Wextra -o hcxpcaptool hcxpcaptool.c -lz -L/usr/lib/x86_64-linux-gnu -I/usr/include/openssl
hcxpcaptool.c:16:25: fatal error: openssl/sha.h: No such file or directory

But this file exists:

$ file /usr/include/openssl/sha*
/usr/include/openssl/sha.h: C source, ASCII text

from hcxtools.

ZerBea avatar ZerBea commented on May 18, 2024

It seems, your openssl installation is completely broken:
Please reinstall libssl-dev
https://unix.stackexchange.com/questions/87458/make-fatal-error-openssl-sha-h-no-such-file-or-directory

from hcxtools.

adrastee avatar adrastee commented on May 18, 2024

Yes it seems so I install arch linux in a VM and compiled hcxpcaptool with "-static" gcc flag for it to be 'portable'.
Do you see any issue with this?
It seems to work great on my Debian so far!

from hcxtools.

ZerBea avatar ZerBea commented on May 18, 2024

Debian is ok so far (and other distro's, like UBUNTU, too). First try to fix your broken environment.

from hcxtools.

adrastee avatar adrastee commented on May 18, 2024

Thanks for all!

from hcxtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.