Hi Christian,

Thanks for your hint! Strange for me but I am not very much experianced…

I found the Path correction in the sigrok-native-macosx script and added libzip 
with success at least for now. Will go further down the part.
Seems to be differences in actual versions of packages.

# PKG_CONFIG_PATH will need to point to pkg-config files of Homebrew's
# keg-only formulae.
P="$PREFIX/lib/pkgconfig"
for FORMULA in libffi python@3 "$QTVER" libzip; do
    P="$P:$(brew --prefix "$FORMULA")/lib/pkgconfig“
done

best regards
Klaus

> Am 07.01.2022 um 21:41 schrieb Christian Eisendle <christ...@eisendle.net>:
> 
> Hi Klaus,
> 
> I guess the issue is that the package config file (libzip.pc) is located in 
> the libzip installation folder. 
> 
>> iMac-LAN:macosx klaus$ brew list libzip
>> /usr/local/Cellar/libzip/1.8.0_1/bin/zipcmp
>> /usr/local/Cellar/libzip/1.8.0_1/bin/zipmerge
>> /usr/local/Cellar/libzip/1.8.0_1/bin/ziptool
>> /usr/local/Cellar/libzip/1.8.0_1/include/ (2 files)
>> /usr/local/Cellar/libzip/1.8.0_1/lib/libzip.5.4.dylib
>> /usr/local/Cellar/libzip/1.8.0_1/lib/cmake/ (4 files)
>> /usr/local/Cellar/libzip/1.8.0_1/lib/pkgconfig/libzip.pc
>> /usr/local/Cellar/libzip/1.8.0_1/lib/ (2 other files)
>> /usr/local/Cellar/libzip/1.8.0_1/share/man/ (124 files)
>> iMac-LAN:macosx klaus$ 
> 
> pkg-config won't find it there without updating the PKG_CONFIG_PATH 
> environment variable
> or manually copying the pc file to the system-wide pkg config path.
> 
> Regards,
> Christian.
> 
> 

_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to