synackuk / n1ghtshade

A bootchain jailbreak/downgrade utility for 32 bit iOS devices.
https://synackuk.dev/projects/n1ghtshade.html
GNU General Public License v3.0
354 stars 46 forks source link

Cannot run on Linux #146

Open woaphone opened 1 year ago

woaphone commented 1 year ago

root@debian:/home/q/n1ghtshade# ../autogen.sh bash: ../autogen.sh: No such file or directory root@debian:/home/q/n1ghtshade# ./autogen.sh aclocal: warning: couldn't open directory 'm4': No such file or directory aclocal: warning: couldn't open directory 'm4': No such file or directory checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for ar... ar checking the archiver (ar) interface... ar checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libfragmentzip >= 58... yes checking for zlib >= 1.2... yes checking for libzip... yes checking for libirecovery >= 0.2.0... no configure: error: Package requirements (libirecovery >= 0.2.0) were not met:

No package 'libirecovery' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables libirecovery_CFLAGS and libirecovery_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the Objective C compiler works... no configure: error: in /home/q/n1ghtshade': configure: error: Objective C compiler cannot create executables Seeconfig.log' for more details

root@debian:/home/q/n1ghtshade# ./n1ghtshade_linux.sh -b n1ghtshade by synackuk, with thanks to: axi0mX, Daniel Volt, Chronic Dev, xerub, iH8Sn0w, tihmstar, nyan_satan, libimobiledevice and RealiMuseum.checkm8 by axi0mX ./n1ghtshade_linux.sh:Line 36: 8220 segment error sudo LD_LIBRARY_PATH=./libirecovery/lib ./bin/n1ghtshade_linux "$@"

Line 36: 8220 segment error

My computer has libirecovery

woaphone commented 1 year ago

use https://github.com/LukeZGD/n1ghtshade