I try to set up FreeSWITCH on MacOS Machin. I am following the step to setup FreeSWITCH -
Still, everything going properly way but I am stuck hitting the "make" command to get the linker error linker command failed with exit code 1 (use -v to see invocation).
Can Anyone please help me if you have any ideas related to this error?
Error Like :
**vivekshukla@Vivek-MacBook-Air freeswitch % make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
CXXLD libfreeswitch.la
*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libvpx/libvpx.a is not portable!
ld: warning: directory not found for option '-L/usr/local/opt/openssl/lib'
ld: warning: directory not found for option '-L/opt/homebrew/Cellar/libtiff/4.4.0_1/lib'
ld: warning: ignoring file libs/libvpx/libvpx.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"_sqlite3_load_extension", referenced from:
_switch_core_db_load_extension in libfreeswitch_la-switch_core_db.o
"vpx_codec_control", referenced from:
_vpx_codec_control_VP8E_SET_TOKEN_PARTITIONS in libfreeswitch_la-switch_vpx.o
_vpx_codec_control_VP8E_SET_CPUUSED in libfreeswitch_la-switch_vpx.o
_vpx_codec_control_VP8E_SET_STATIC_THRESHOLD in libfreeswitch_la-switch_vpx.o
_vpx_codec_control_VP9E_SET_LOSSLESS in libfreeswitch_la-switch_vpx.o
_vpx_codec_control_VP9E_SET_TUNE_CONTENT in libfreeswitch_la-switch_vpx.o
_vpx_codec_control_VP8E_SET_NOISE_SENSITIVITY in libfreeswitch_la-switch_vpx.o
_vpx_codec_control_VP8E_SET_MAX_INTRA_BITRATE_PCT in libfreeswitch_la-switch_vpx.o
...
"_vpx_codec_dec_init_ver", referenced from:
_init_decoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_decode", referenced from:
_switch_vpx_decode in libfreeswitch_la-switch_vpx.o
"_vpx_codec_destroy", referenced from:
_switch_vpx_decode in libfreeswitch_la-switch_vpx.o
_switch_vpx_destroy in libfreeswitch_la-switch_vpx.o
_reset_codec_encoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_enc_config_default", referenced from:
_init_vp9 in libfreeswitch_la-switch_vpx.o
_init_vp8 in libfreeswitch_la-switch_vpx.o
"_vpx_codec_enc_config_set", referenced from:
_init_encoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_enc_init_ver", referenced from:
_init_encoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_encode", referenced from:
_switch_vpx_encode in libfreeswitch_la-switch_vpx.o
"_vpx_codec_error", referenced from:
_switch_vpx_encode in libfreeswitch_la-switch_vpx.o
_switch_vpx_decode in libfreeswitch_la-switch_vpx.o
_init_encoder in libfreeswitch_la-switch_vpx.o
_init_decoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_error_detail", referenced from:
_switch_vpx_encode in libfreeswitch_la-switch_vpx.o
_switch_vpx_decode in libfreeswitch_la-switch_vpx.o
_init_encoder in libfreeswitch_la-switch_vpx.o
_init_decoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_get_cx_data", referenced from:
_consume_partition in libfreeswitch_la-switch_vpx.o
"_vpx_codec_get_frame", referenced from:
_switch_vpx_decode in libfreeswitch_la-switch_vpx.o
"_vpx_codec_iface_name", referenced from:
_vpx_api_function in libfreeswitch_la-switch_vpx.o
_init_encoder in libfreeswitch_la-switch_vpx.o
_init_decoder in libfreeswitch_la-switch_vpx.o
"_vpx_codec_version_str", referenced from:
_switch_vpx_init in libfreeswitch_la-switch_vpx.o
"_vpx_codec_vp8_cx", referenced from:
_switch_vpx_init in libfreeswitch_la-switch_vpx.o
_vpx_api_function in libfreeswitch_la-switch_vpx.o
_init_vp8 in libfreeswitch_la-switch_vpx.o
"_vpx_codec_vp8_dx", referenced from:
_switch_vpx_init in libfreeswitch_la-switch_vpx.o
"_vpx_codec_vp9_cx", referenced from:
_switch_vpx_init in libfreeswitch_la-switch_vpx.o
_vpx_api_function in libfreeswitch_la-switch_vpx.o
_init_vp9 in libfreeswitch_la-switch_vpx.o
"_vpx_codec_vp9_dx", referenced from:
_switch_vpx_init in libfreeswitch_la-switch_vpx.o
"_vpx_img_alloc", referenced from:
_switch_img_alloc in libfreeswitch_la-switch_core_video.o
"_vpx_img_free", referenced from:
_switch_img_free in libfreeswitch_la-switch_core_video.o
_switch_vpx_destroy in libfreeswitch_la-switch_vpx.o
"_vpx_img_set_rect", referenced from:
_switch_img_set_rect in libfreeswitch_la-switch_core_video.o
"_vpx_img_wrap", referenced from:
_switch_img_wrap in libfreeswitch_la-switch_core_video.o
_switch_img_patch_rect in libfreeswitch_la-switch_core_video.o
_switch_img_copy_rect in libfreeswitch_la-switch_core_video.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libfreeswitch.la] Error 1
make: *** [all] Error 2
**
Need help to solve it