You are not logged in.
Pages: 1
I am trying to understand something. I found something on Github I want to try.
It works with my Apple Ipad (6th gen). The commands I want to use are:
git clone https://github.com/tr4m0ryp/tr4mpass.git
cd tr4mpass
I found I was missing git, so I used the commands:
sudo apt update
sudo apt upgrade
sudo apt install git-all
Now I get an error: missing curl/curl.h
Any help?
Last edited by Digidoc (2026-06-16 05:37)
Offline
sudo apt install curl
However, I suggest you read the start-helpers-sh script before you just plunge in as you will find a whole lot more dependencies need to be installed.
That script is probably designed to do that for you.
Last edited by bin (2026-06-16 07:22)
Offline
Thanks. I get 2 interesting messages. Curl is already installed and is the newest version. 10 or more packages are no longer needed and may be removed. I used: sudo apt autoremove to get rid of them. I think I am ready, I rerun the script, the compile again fails [fatal error: curl/curl.h: No such file or directory. 6 | #include <curl/curl.h> compilation terminated. I continue to try.
Offline
Looking at the makefile script line 6
PKG_LIBS = libimobiledevice-1.0 libirecovery-1.0 libusb-1.0 \
libplist-2.0 openssl libcurl libssh2
The error suggests one or more of these is missing.
The helpers script is supposed to install anything that is missing.
I suggest you check to see is there is something in the above list that is not installed.
libirecovery would be a possibility.
Offline
[fatal error: curl/curl.h: No such file or directory. 6 | #include <curl/curl.h> compilation terminated.
It means that the developer version of a package is missing.
Normal package = binary that can be run/executed.
Developer package = source code that can be imported into another project to be compiled (in your case it likely goes on C code where *.h files are header files)
When you have such problems, it's never a bad idea to search on the repository for similar issues. I did it and found this page and this page where it it is clearly stated that the missing package might be libssh2-1-dev.
So try 'sudo apt install libssh2-1-dev`
My advice is when you encounter an error, don't focus only on the line that contains the word "error", read also the information messages, it's precisely where I read about libssh2-1-dev.
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Online
fatal error: curl/curl.h: No such file or directory. 6 | #include <curl/curl.h> compilation terminated.
Looks like you're missing the package libcurl4-gnutls-dev (or, alternatively, libcurl4-openssl-dev).
sudo apt install libcurl4-gnutls-devOffline
This command: 'sudo apt install libssh2-1-dev' reported already installed.
This command: 'sudo apt install libcurl4-gnutls-dev' seemed to be the one I needed.
Unfortunately, after entering the DFU mode on the iPad, the command ran, tried to update, and then got an error -1. No better, no worse. I still have a locked device and Apple refuses to help. Phooey. Thanks to the people here in this forum.
Offline
Pages: 1