Closed benoit-pierre closed 2 months ago
brew bug?
edit: does libarchive need libssl or just libcrypto?
brew bug?
Not sure, looking into it.
edit: does libarchive need libssl or just libcrypto?
Good catch, will amend to link with libcrypto
only.
Looks like it is a brew bug:
# the include directory is correct:
▸ pkg-config --cflags libcrypto
-I/opt/homebrew/Cellar/openssl@3/3.3.0/include
# but the libraries search path is not:
▸ pkg-config --libs libcrypto
-L/opt/homebrew/Cellar/openssl@3/3.3.0 -lcrypto
#
▸ ls -l /opt/homebrew/Cellar/openssl@3/3.3.0
total 1752
-rw-r--r-- 1 runner admin 990 Apr 9 12:12 AUTHORS.md
-rw-r--r-- 1 runner admin 782003 Apr 9 12:12 CHANGES.md
-rw-r--r-- 1 runner admin 1256 Apr 22 18:13 INSTALL_RECEIPT.json
-rw-r--r-- 1 runner admin 10175 Apr 9 12:12 LICENSE.txt
-rw-r--r-- 1 runner admin 84478 Apr 9 12:12 NEWS.md
-rw-r--r-- 1 runner admin 8182 Apr 9 12:12 README.md
drwxr-xr-x 4 runner admin 128 Apr 22 18:13 bin
drwxr-xr-x 3 runner admin 96 Apr 9 12:12 include
drwxr-xr-x 12 runner admin 384 Apr 22 18:13 lib
drwxr-xr-x 4 runner admin 128 Apr 9 12:12 share
Reinstalling openssl fix it. ¯\(ツ)/¯
The macOS build is fine on
x86_64
, but borked onarm64
:Same issue when building curl (#1466).