Package Details: libirecovery-git 2:1.0.0.r59.g28be953-1

Git Clone URL: https://aur.archlinux.org/libirecovery-git.git (read-only, click to copy)
Package Base: libirecovery-git
Description: Library and utility to talk to iBoot/iBSS via USB
Upstream URL: http://www.libimobiledevice.org/
Licenses: LGPL2.1
Conflicts: libirecovery
Provides: libirecovery, libirecovery-1.0.so
Submitter: matthewbauer
Maintainer: intelfx
Last Packager: intelfx
Votes: 17
Popularity: 0.000002
First Submitted: 2010-06-22 02:43 (UTC)
Last Updated: 2023-05-05 15:33 (UTC)

Required by (10)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

sirkingchase commented on 2013-04-01 18:35 (UTC)

Posting back to confirm that libirecovery does work once compiled with the steps below. I used it to get my iphone out of recovery loop. However, I had no luck getting idevicerestore compiled. :(

sirkingchase commented on 2013-04-01 05:16 (UTC)

I was getting the exact same errors as kludge. Google was no help I found absolutly nothing so I poked around in the code myself. I got it to compile on Arch linux 64, you must use and modify the Makefile from tokm's old fork. I still used Chronics git but with a few changes to tokms Makefile. I cloned the git into a directory and executed these commands - gcc -o libirecovery.o -c libirecovery.c -g -I./include -lreadline -fPIC gcc -o libirecovery.so libirecovery.o -g -shared -Wl,-soname,libirecovery.so -lusb-1.0 gcc -o irecovery irecovery.c -g -I./include -L. -lirecovery -lreadline It successfully compiles and you get the executable, then you do - cp libirecovery.so /usr/lib/libirecovery.so cp include/libirecovery.h /usr/local/include/libirecovery.h cp irecovery /usr/local/bin/irecovery ldconfig Now I got it compiled. I have not used it yet, now Im battling libirestore. I just wanted to post before I forgot. Hope this helps the next guy!

<deleted-account> commented on 2013-02-20 20:17 (UTC)

and when gnu/stubs-32.h is provided manually (cf: https://bbs.archlinux.org/viewtopic.php?pid=258427#p258427), compilation fails with: gcc -c libirecovery.c -o libirecovery.o -m32 -fPIC -O3 -I./include -I/usr/include -I/usr/local/include gcc -o libirecovery.so libirecovery.o -L/usr/lib -L/usr/local/lib -shared -W1,-soname,libirecovery.so -m32 -lusb-1.0 gcc: error: unrecognized command line option ‘-W1,-soname,libirecovery.so’

<deleted-account> commented on 2013-02-20 20:15 (UTC)

does not compile on arch64: gcc -c libirecovery.c -o libirecovery.o -m32 -fPIC -O3 -I./include -I/usr/include -I/usr/local/include In file included from /usr/include/features.h:399:0, from /usr/include/stdio.h:27, from libirecovery.c:21: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. make: *** [libirecovery.o] Error 1