libimobiledevice / libideviceactivation

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

configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.1) were not met #32

Closed starkshaw closed 5 years ago

starkshaw commented 6 years ago
checking for libimobiledevice-1.0 >= 1.2.1... no
configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.1) were not met:

Package 'openssl', required by 'libimobiledevice-1.0', not found

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

But there's no 1.2.1 for libimobiledevice, I have openssl in my macOS, why this does not work?

bhallionOhbibi commented 6 years ago

Hi there,

I came accross the same issue today. I work on osx and installed openssl using homebrew. According to 'man pkg-config', configure is looking for an 'openssl.pc' file that can me located in various directories (/usr/lib/pkgconfig, /usr/local/lib/pkg-config, etc..)

For me the problem was simply that this file was not present in thoses directories. I had to call ln -s /usr/local/Cellar/openssl/${OPENSSL_VERSION}/lib/pkgconfig/* /usr/local/lib/pkgconfig/ then configure would pass the step.

nikias commented 5 years ago

This is not a bug in this project.