HsOpenSSL icon indicating copy to clipboard operation
HsOpenSSL copied to clipboard

Install succeeds on macOS but then ghci brokens

Open marco-comini opened this issue 3 years ago • 0 comments

Hi guys, I hope not to abuse the issue system but frankly I do not understand if what is happening is an issue of HsOpenSSL on (newer?) macOs or something I am missing / doing wrong.

Anyway, after a successful installation of HsOpenSSL with cabal then ghci stops with error

dlopen(/Users/comini/.cabal/store/ghc-8.10.7/lib/libHSHsOpnSSL-0.11.7.2-7ed92aa3-ghc8.10.7.dylib, 0x0005): symbol not found in flat namespace (_AES_cbc_encrypt)

On my Mac I have installed macport ports openssl3 and openssl11 (and pkg-config). I have tried cabal adding also "-f use-pkg-config" as well as "-f macports-openssl" but the issue remains.

Can you help me?

marco-comini avatar Aug 27 '22 16:08 marco-comini