Open callen918 opened 3 years ago
Did you compile and install libplist? Your distro's package is most likely outdated.
This happens when libplist is built from source and installed.
This happens when libplist is built from source and installed.
I have similar trouble, just No package 'libplist' found , although libplist 2.0 is installed Tell please how fix it
The configure output tells you what to do. Either you set PKG_CONFIG_PATH
to the location where libplist-2.0.pc is located, or you set libplist_CFLAGS
so the compiler finds the includes, and libplist_LIBS
so the linker finds the libs.
So you said libplist-2.0 is installed; then you need to know where it is installed. If it was installed in /usr/local prefix, then you can run:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
The configure output tells you what to do. Either you set
PKG_CONFIG_PATH
to the location where libplist-2.0.pc is located, or you setlibplist_CFLAGS
so the compiler finds the includes, andlibplist_LIBS
so the linker finds the libs. So you said libplist-2.0 is installed; then you need to know where it is installed. If it was installed in /usr/local prefix, then you can run:PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
After run PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh I got error Package 'openssl', required by 'libimobiledevice-1.0', not found
although I have it too and entered paths what advised in troubleshooting
You need to install libssl-dev
.
You need to install
libssl-dev
.
openssl contained libssl
After trying brew link openssl
I got
Warning: Refusing to link macOS provided/shadowed software: openssl@1.1 If you need to have openssl@1.1 first in your PATH run: echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
For compilers to find openssl@1.1 you may need to set: export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
For pkg-config to find openssl@1.1 you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
When following the README, I receive the following error: