/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /usr/local/var/go/demo-media/src/media-server-go-native/media-server/bin/release/libmediaserver.a(RTPMap.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /usr/local/var/go/demo-media/src/media-server-go-native/media-server/bin/release/libmediaserver.a(RTPPacketSched.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /usr/local/var/go/demo-media/src/media-server-go-native/media-server/bin/release/libmediaserver.a(RTPOutgoingSource.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /usr/local/var/go/demo-media/src/media-server-go-native/media-server/bin/release/libmediaserver.a(RTCPReport.o) has no symbols
# pkg-config --cflags -- gstreamer-1.0 gstreamer-base-1.0 gstreamer-app-1.0 gstreamer-plugins-base-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-plugins-bad-1.0
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'gobject-2.0', not found
pkg-config: exit status 1
# github.com/notedit/media-server-go/wrapper
Undefined symbols for architecture x86_64:
"RTPSession::SendPacket(RTPPacket&)", referenced from:
RTPSessionFacade::Enqueue(std::__1::shared_ptr<RTPPacket> const&) in _x004.o
"RTPPacket::SetPayload(unsigned char const*, unsigned int)", referenced from:
RawRTPSessionFacade::onRTPPacket(unsigned char*, int) in _x004.o
"_srtp_crypto_policy_set_aes_gcm_128_16_auth", referenced from:
RTPTransport::SetLocalCryptoSDES(char const*, unsigned char const*, unsigned int) in libmediaserver.a(RTPTransport.o)
RTPTransport::SetRemoteCryptoSDES(char const*, unsigned char const*, unsigned int) in libmediaserver.a(RTPTransport.o)
SRTPSession::Setup(char const*, unsigned char const*, unsigned long) in libmediaserver.a(SRTPSession.o)
"_srtp_crypto_policy_set_aes_gcm_256_16_auth", referenced from:
RTPTransport::SetLocalCryptoSDES(char const*, unsigned char const*, unsigned int) in libmediaserver.a(RTPTransport.o)
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc@7/7.4.0_2/libexec/gcc/x86_64-apple-darwin18.5.0/7.4.0/lto-wrapper
Target: x86_64-apple-darwin18.5.0
Configured with: ../configure --build=x86_64-apple-darwin18.5.0 --prefix=/usr/local/Cellar/gcc@7/7.4.0_2 --libdir=/usr/local/Cellar/gcc@7/7.4.0_2/lib/gcc/7 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-7 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-checking=release --with-pkgversion='Homebrew GCC 7.4.0_2' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-nls --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Thread model: posix
gcc version 7.4.0 (Homebrew GCC 7.4.0_2)