Closed noozo closed 6 months ago
Same with elixir 1.16:
===> Analyzing applications...
===> Compiling pc
===> Compiling /Users/xxx/Development/membrane_rtc_engine/examples/webrtc_videoroom/deps/fast_tls/c_src/fast_tls.c
===> /Users/xxx/Development/membrane_rtc_engine/examples/webrtc_videoroom/deps/fast_tls/c_src/fast_tls.c:21:10: fatal error: 'openssl/err.h' file not found
#include <openssl/err.h>
^~~~~~~~~~~~~~~
1 error generated.
==> membrane_videoroom_demo
** (Mix) Could not compile dependency :fast_tls, "/Users/xxx/.asdf/installs/elixir/1.16.0/.mix/elixir/1-16/rebar3 bare compile --paths /Users/xxx/Development/membrane_rtc_engine/examples/webrtc_videoroom/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile fast_tls --force", update it with "mix deps.update fast_tls" or clean it with "mix deps.clean fast_tls"
for reference in newer OSX versions, the correct exports required for compilation are (if you install openssh via homebrew):
export LDFLAGS="-L/opt/homebrew/etc/openssl/lib"
export CFLAGS="-I/opt/homebrew/etc/openssl/include/"
export CPPFLAGS="-I/opt/homebrew/etc/openssl/include/"
OSX Sonoma 14.0