-
Notifications
You must be signed in to change notification settings - Fork 388
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
fatal error: openssl/sha.h: No such file or directory (misconfigured KALI distribution) #331
Comments
The issue you are facing seems to stem from a problem with your internet connection. Try resetting your internet connection and then ping google.com to see if your DNS is working properly. From there, you can proceed with installing the required packages. Please read this article from askubuntu for more information. |
First of all, I'm going to close this report, because all problems are related to KALI. But to point you into the right direction: Some addtional information can be found in the closed issue reports BTW: |
okay ill try that but when i try the sudo apt-get update command i get this same issue and also if im kinda annoying sorry. Get:1 http://mirrors.netix.net/kali kali-rolling InRelease [41.5 kB] |
Your KALI installation is completely broken. |
Please comment output of uname -r |
this is the output i got 5.7.0-kali1-amd64 |
That is a really old version and the kernel is no longer under maintenance: According to KALI history: None of the requirements of hcxtools (as mentioned in README.md) are met. |
i need to reinstall kali or is there a better way? |
A fresh install is the easiest way. |
i got a issue where hcxpcaptool is missing on wifite i have it installed but it still doesnt work when i try to do sudo make and then sudo make install i get this same error
cc -O3 -Wall -Wextra -std=gnu99 -MMD -MF .deps/hcxpcaptool.d -o hcxpcaptool hcxpcaptool.c -lz -lcrypto
hcxpcaptool.c:16:10: fatal error: openssl/sha.h: No such file or directory
16 | #include <openssl/sha.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:79: hcxpcaptool] Error 1
when i try to install the requirements (i was looking at fixes for it and i tried downloading the required items i got another error) i keep getting this
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2).
zlib1g-dev set to manually installed.
The following additional packages will be installed:
curl libcurl4 libpcap0.8-dev
Suggested packages:
libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
pkg-config libssl-doc
The following NEW packages will be installed:
libcurl4-openssl-dev libpcap-dev libpcap0.8-dev libssl-dev
The following packages will be upgraded:
curl libcurl4
2 upgraded, 4 newly installed, 0 to remove and 94 not upgraded.
Need to get 3,083 kB of archives.
After this operation, 10.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://http.kali.org/kali kali-rolling/main amd64 curl amd64 7.68.0-1+b1
404 Not Found [IP: ]
Err:2 http://http.kali.org/kali kali-rolling/main amd64 libcurl4 amd64 7.68.0-1+b1
404 Not Found [IP: ]
Err:3 http://http.kali.org/kali kali-rolling/main amd64 libcurl4-openssl-dev amd64 7.68.0-1+b1
404 Not Found [IP: ]
Err:4 http://http.kali.org/kali kali-rolling/main amd64 libpcap0.8-dev amd64 1.9.1-4
404 Not Found [IP: ]
Err:5 http://http.kali.org/kali kali-rolling/main amd64 libpcap-dev amd64 1.9.1-4
404 Not Found [IP: ]
Err:6 http://http.kali.org/kali kali-rolling/main amd64 libssl-dev amd64 1.1.1g-1
404 Not Found [IP: ]
E: Failed to fetch http://http.kali.org/kali/pool/main/c/curl/curl_7.68.0-1+b1_amd64.deb 404 Not Found [IP: ]
E: Failed to fetch http://http.kali.org/kali/pool/main/c/curl/libcurl4_7.68.0-1+b1_amd64.deb 404 Not Found [IP: ]
E: Failed to fetch http://http.kali.org/kali/pool/main/c/curl/libcurl4-openssl-dev_7.68.0-1+b1_amd64.deb 404 Not Found [IP: ]
E: Failed to fetch http://http.kali.org/kali/pool/main/libp/libpcap/libpcap0.8-dev_1.9.1-4_amd64.deb 404 Not Found [IP: ]
E: Failed to fetch http://http.kali.org/kali/pool/main/libp/libpcap/libpcap-dev_1.9.1-4_amd64.deb 404 Not Found [IP: ]
E: Failed to fetch http://http.kali.org/kali/pool/main/o/openssl/libssl-dev_1.1.1g-1_amd64.deb 404 Not Found [IP: ]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
(i removed the ip addresses because im new to kali linux so idk if theyre smth important or if i can let them be shown to you guys and from basic knowledge im not showing them)
if someone helps me get this solved id be very thankful
(Even after doing that with the required items i still get the same error when i try the sudo make and sudo make install command
The text was updated successfully, but these errors were encountered: