On GitHub runner for macos-latest, with openssl installed via brew (workflow here: ed.yml), pkg-config produces an incorrect library path for linking libssl. Instead of:
The issue is not repeatable locally on M1/macOS 14.4.1 Homebrew 4.2.20-104-gdfbf269.
In this particular case, explicitly setting LDFLAGS during configure is a workaround as seen here: configure step.
Description
On GitHub runner for macos-latest, with openssl installed via brew (workflow here: ed.yml),
pkg-config
produces an incorrect library path for linking libssl. Instead of:it produces:
as seen here link step.
The issue is not repeatable locally on M1/macOS 14.4.1 Homebrew 4.2.20-104-gdfbf269. In this particular case, explicitly setting LDFLAGS during configure is a workaround as seen here: configure step.
Platforms affected
Runner images affected
Image version and build link
Version: 20240422.3 Build link
Is it regression?
Maybe? Was openssl recently removed from macOS runners?
Expected behavior
After installing openssl:
then
should report:
Actual behavior
i.e., the lib subdirectory is missing.
Repro steps
Run an action on macos-latest that installs openssl and attempts to link against the installed -lssl.