编译安装
mac最新的版本因为openssl的安全问题,不再默认链接openssl库,所以必须手动配置库,整体还是很折腾
brew reinstall coreutils automake autoconf openssl libyaml readline libxslt libtool unixodbc
brew link coreutils automake autoconf openssl libyaml readline libxslt libtool unixodbc
export KERL_CONFIGURE_OPTIONS="--disable-hipe --with-ssl=$(brew --prefix openssl)"
export CFLAGS="-O2 -g -fno-stack-check -Wno-error=implicit-function-declaration"
kerl build 23.0 23.0
ker install 23.0 /usr/local/erlang
最