zsh: exec format error: trustcache when trying to use trustcache info
Closed this issue · 5 comments
alfiecg24 commented
If I run the program on any trustcache with the info option, I get an exec format error. I have tried using even the trust caches used in the IPSWs but I get the same error.
alfiecg24 commented
I get the same error when I use trustcache create too
CRKatri commented
That is because the executable you created is for the wrong platform. What OS did you compile it on, and what OS are you trying to run it on?
alfiecg24 commented
I thought that, but I’m on an M1 Mac and just ran make
and tried to execute it on the same machine.
CRKatri commented
Run file trustcache
and vtool -show trustcache
alfiecg24 commented
I ended up running make clean
and then make trustcache
and the executable now works - but I am running into malloc errors so I'll try and debug when I get round to it