opam-repository icon indicating copy to clipboard operation
opam-repository copied to clipboard

Pb with package conf-libssl on macos.

Open craff opened this issue 2 years ago • 2 comments

opam package conf-libssl try to install openssl on macos and the package is not found. The solution is probably brew install openssl@3 that worked for me on github action.

I am not sure if this issue belongs here or with conf-libssl.

#=== ERROR while compiling conf-libssl.4 ======================================#
# context     2.1.4 | macos/x86_64 | ocaml-base-compiler.5.0.0 | git+https://github.com/ocaml/opam-repository.git
# path        ~/work/simple_httpd/simple_httpd/_opam/.opam-switch/build/conf-libssl.4
# command     ~/.opam/opam-init/hooks/sandbox.sh build sh -ex ./homebrew.sh check
# exit-code   1
# env-file    ~/.opam/log/conf-libssl-39818-0312a6.env
# output-file ~/.opam/log/conf-libssl-39818-0312a6.out
### output ###
# ++ brew --prefix openssl
# + brew_pkg_config=/usr/local/opt/openssl@3/lib/pkgconfig
# + case "$1" in
# + test 1 '!=' 1
# + export PKG_CONFIG_PATH=/usr/local/opt/openssl@3/lib/pkgconfig:/Users/runner/work/simple_httpd/simple_httpd/_opam/lib/pkgconfig
# + PKG_CONFIG_PATH=/usr/local/opt/openssl@3/lib/pkgconfig:/Users/runner/work/simple_httpd/simple_httpd/_opam/lib/pkgconfig
# + pkg-config --print-errors --exists openssl
# Package openssl was not found in the pkg-config search path.
# Perhaps you should add the directory containing `openssl.pc'
# to the PKG_CONFIG_PATH environment variable
# No package 'openssl' found

craff avatar Jan 09 '23 16:01 craff