crystal-lang / install-crystal

GitHub Action: Install Crystal programming language
https://crystal-lang.github.io/install-crystal/configurator.html
MIT License
68 stars 8 forks source link

macos-latest missing SSL #10

Closed mamantoha closed 2 years ago

mamantoha commented 2 years ago

Hi! macOS action started to fail a few days ago.

Run crystal spec
  crystal spec
  shell: /bin/bash -e {0}
  env:
    PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
ld: library not found for -lssl (this usually means you need to install the development package for libssl)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/runner/.cache/crystal/crystal-run-spec.tmp  -rdynamic -L/Users/runner/work/_temp/crystal-latest-true-undefined/embedded/lib -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl`
Error: Process completed with exit code 1.

https://github.com/mamantoha/crest/runs/3773344842?check_suite_focus=true

mamantoha commented 2 years ago

Thanks @oprypin 🦾