I'm having trouble with CubicSDR on an iMac 7,1 OS X 10.11.6 following your instructions to uninstall and reinstall via Homebrew. I did this as CubicSDR was crashing on setup with a Nonelectric RTL-SDR dongle. When it comes to reinstalling soapystlsdr I get this:
bash$ brew install soapyrtlsdr
==> Installing soapyrtlsdr from pothosware/pothos
==> Downloading https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtlsdr-0.2.2.tar.gz
Already downloaded: /Users/Stuart/Library/Caches/Homebrew/soapyrtlsdr-0.2.2.tar.gz
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr
==> make install
Last 15 lines from /Users/Stuart/Library/Logs/Homebrew/soapyrtlsdr/02.make:
[100%] Linking CXX shared module librtlsdrSupport.so
/usr/local/Cellar/cmake/3.7.1/bin/cmake -E cmake_link_script CMakeFiles/rtlsdrSupport.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -std=c++11 -Wc++11-extensions -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -bundle -Wl,-headerpad_max_install_names -flat_namespace -o librtlsdrSupport.so CMakeFiles/rtlsdrSupport.dir/Registation.cpp.o CMakeFiles/rtlsdrSupport.dir/Settings.cpp.o CMakeFiles/rtlsdrSupport.dir/Streaming.cpp.o /usr/local/lib/librtlsdr.dylib /usr/local/lib/libSoapySDR.dylib
Undefined symbols for architecture x86_64:
"_rtlsdr_set_agc_mode", referenced from:
SoapyRTLSDR::setGainMode(int, unsigned long, bool) in Settings.cpp.o
"_rtlsdr_set_direct_sampling", referenced from:
SoapyRTLSDR::writeSetting(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in Settings.cpp.o
"_rtlsdr_set_offset_tuning", referenced from:
SoapyRTLSDR::writeSetting(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in Settings.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [librtlsdrSupport.so] Error 1
make[1]: *** [CMakeFiles/rtlsdrSupport.dir/all] Error 2
make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/pothosware/homebrew-pothos/issues
bash$ brew uninstall soapyrtlsdr
Error: No such keg: /usr/local/Cellar/soapyrtlsdr
bash$