Hi!
I’m trying to install the HsOpenSSL package on hackage and ran into the error when executing cabal run
Error: setup: Can't find OpenSSL library.
Install it via 'brew install openssl' or 'port install openssl'.
If you already have OpenSSL installed, specify the location
of the installed library in cabal.project:
package HsOpenSSL
extra-include-dirs: ...
extra-lib-dirs: ...
or use
cabal configure --extra-include-dirs=... --extra-lib-dirs=...
Error: cabal: Failed to build HsOpenSSL-0.11.7.5 (which is required by
...
Failing that, I attempted to see where it’s located
𝝺 whereis openssl
openssl: /usr/bin/openssl /usr/share/man/man1/openssl.1
and then set the config
𝝺 cabal configure --extra-include-dirs="/usr/bin/openssl" --extra-lib-dirs="/usr/bin/openssl"
However, I am running into the same issue and out of ideas on how to resolve it. Any helpers here?