mesonbuild / wrapdb

New wrap requests
https://mesonbuild.com/Adding-new-projects-to-wrapdb.html
MIT License
69 stars 176 forks source link

libarchive: update to 3.7.4 #1492

Closed benoit-pierre closed 2 months ago

benoit-pierre commented 2 months ago

The macOS build is fine on x86_64, but borked on arm64:

ld: library 'ssl' not found

Same issue when building curl (#1466).

neheb commented 2 months ago

brew bug?

edit: does libarchive need libssl or just libcrypto?

benoit-pierre commented 2 months ago

brew bug?

Not sure, looking into it.

edit: does libarchive need libssl or just libcrypto?

Good catch, will amend to link with libcrypto only.

benoit-pierre commented 2 months ago

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
benoit-pierre commented 2 months ago

Reinstalling openssl fix it. ¯\(ツ)