libimobiledevice / libideviceactivation

A library to handle the activation process of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v2.1
276 stars 129 forks source link

configure: error: Package requirements (libcurl >= 7.20) were not met: #59

Closed mi-mo-sa closed 2 years ago

mi-mo-sa commented 2 years ago

OS Name: Windows 10 MSYS2 OS Type: 64-bit

About libideviceactivation . /autogen.sh After execution, I get a "configure: error" from libcurl.

However, I have installed the "libcurl-devel" package on MSYS2. pacman -S libcurl-devel The version I am installing is 7.80, which is newer than the 7.20 noted in the error.

Is there a solution to this problem?

checking for libcurl... no
configure: error: Package requirements (libcurl >= 7.20) were not met:

Package 'libcurl', required by 'virtual:world', not 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 libcurl_CFLAGS
and libcurl_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

xxx@xxx MINGW64 ~/libideviceactivation
$ curl -V
curl 7.80.0 (x86_64-pc-msys) libcurl/7.80.0 OpenSSL/1.1.1n zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.46.0
Release-Date: 2021-11-10
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd
mi-mo-sa commented 2 years ago

The idevicerestore seems to be experiencing the same problem. → #272

mi-mo-sa commented 2 years ago

Version errors no longer occur by installing the following packages. pacman -Sy mingw-w64-x86_64-curl