Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pb with package conf-libssl on macos. #22895

Open
craff opened this issue Jan 9, 2023 · 2 comments
Open

Pb with package conf-libssl on macos. #22895

craff opened this issue Jan 9, 2023 · 2 comments

Comments

@craff
Copy link
Contributor

craff commented Jan 9, 2023

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
@kit-ty-kate
Copy link
Member

Could you list what you have in /usr/local/opt/openssl@3/lib/pkgconfig ?

@craff
Copy link
Contributor Author

craff commented Jan 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants