Open ChrisCheney opened 6 years ago
Came across your post while I was looking into this issue myself. I was able to piece together similar issues at different stages of compilation from other forums and found the underlying cause for this error specifically was due to missing bzip2-devel library. Fixed the issue by running:
dnf install -y bzip2-devel-1.0.6-24.fc27.x86_64 bzip2-static-1.0.6-24.fc27.x86_64
followed by rebuilding from src : Solution: Add'-lz' to makefile / GCC flags if not missing required compression libs (bzip, libcurl, etc) and rebuild. Background: DSO is a dynamic shared object or a shared library. Adding -lz to the LDFLAGS to include location of your missing library at build time.
I'm also running Fedora 27.
Hi! I am in arch. I think I have all the required dependencies installed. I have been looking for every package containing bzip and not being incompatible and installed them. When I do:
export LDFLAGS=$LDFLAGS:-lz
then the autogen.sh promps an new error
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/src/apple/iphone/idevicerestore':
configure: error: C compiler cannot create executables
See `config.log' for more details
Do you have any idea?
If anyone is still getting this problem, try the patch in https://github.com/libimobiledevice/idevicerestore/issues/220#issuecomment-412364421.
I ran into this problem on Fedora Workstation 29 and the patch worked for me. I'll test on F27 when I've got some more time to kill
.
I think this issue can be closed now. I managed to successfully compile 653349a, without any changes to the code, on Fedora 40.
The README instructions seem to be still up-to-date, but is not 100% correct for Fedora. Package names follow a different format, and the libcurl
dependency is packaged differently.
Trying to build on Fedora 27 I found a few issues:
Need to add curl devel and bzip2 devel to requirements on the doc.
After adding those the following error occurred: