Unable to build when installing cargo-update on macOS 10.13
oceanlewis opened this issue · comments
Ocean commented
Having issues building git2-rs when installing cargo-update. I've tried setting CMAKE_PREFIX_PATH
so cmake can find openssl's headers. Here's a log to see where exactly this fails building.
related issue filed at cargo-update
I do have openssl
and libssh2
installed with Homebrew on my machine, so unless there's a variable I need to explicitly set now - I'm at a loss.
Thanks.
Dirkjan Ochtman commented
I was debugging this issue with @alexcrichton. For now, you could work around this with PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
when running a cargo command.