Closed chanphiromsok closed 6 months ago
Hi, this error happens because the compiler can't find the openssl headers and library files. The OpenSSL version you're using is fine, try running the following commands:
export CFLAGS="-I$(brew --prefix)/opt/openssl/include"
export LDFLAGS="-L$(brew --prefix)/opt/openssl/lib"
and then compile again.
let me try tmr how about openssl@3 ? can I uesd these export save in zshrc ?
openssl@3 should be fine, I use it with no issues.
Ofc you can save these exports in zshrc, just keep in mind that you have them always set (some libraries may not compile with them, so you might need to unset CFLAGS
etc.)
it help me I try on intel processor it work fine for M1 chip not work hehe thx you
this issue can close now
work for M1 chip
export CFLAGS="-I$(brew --prefix)/opt/openssl/include"
export LDFLAGS="-L$(brew --prefix)/opt/openssl/lib"
include <openssl/err.h>
what is the OpenSSL version required for membrane ?