Hello,
I’m trying to build the mysql package from Hackage on macOS with an M1 chip, but the build fails with the following error:
Error: setup: Missing dependencies on foreign libraries:
* Missing (or bad) C libraries: zstd, ssl, crypto
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
If the library files do exist, it may contain errors that are caught by the
C compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
I have installed mysql-client, openssl@3, and zstd via Homebrew, and tried passing --extra-include-dirs and --extra-lib-dirs accordingly, but the build still fails.
Could you provide guidance on how to resolve this issue on an M1 Mac? Are there specific versions or flags required for these libraries?
Thanks in advance!
Hello,
I’m trying to build the mysql package from Hackage on macOS with an M1 chip, but the build fails with the following error:
I have installed
mysql-client,openssl@3, andzstdvia Homebrew, and tried passing--extra-include-dirsand--extra-lib-dirsaccordingly, but the build still fails.Could you provide guidance on how to resolve this issue on an M1 Mac? Are there specific versions or flags required for these libraries?
Thanks in advance!