DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/ld64/ld
Could not open libairspy.0.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so)
DEBUG: Marking /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so as broken
DEBUG: Marking /opt/local/lib/libgnuradio-osmosdr.0.1.5git.dylib as broken
---> Found 2 broken file(s), matching files to ports
Error: Port gr-osmosdr is still broken after rebuilding it more than 3 times.
In addition:otool -L /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
/opt/local/lib/libgnuradio-osmosdr.0.1.5git.dylib (compatibility version 0.1.5, current version 0.0.0)
/opt/local/lib/libboost_thread-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libgnuradio-runtime.3.7.5.1.dylib (compatibility version 3.7.5, current version 0.0.0)
/opt/local/lib/libgnuradio-pmt.3.7.5.1.dylib (compatibility version 3.7.5, current version 0.0.0)
/opt/local/lib/libgnuradio-blocks.3.7.5.1.dylib (compatibility version 3.7.5, current version 0.0.0)
/opt/local/lib/libgnuradio-fcd.3.7.5.1.dylib (compatibility version 3.7.5, current version 0.0.0)
/opt/local/lib/libgnuradio-fcdproplus.0.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/librtlsdr.0.dylib (compatibility version 0.0.0, current version 0.5.0)
/opt/local/lib/libgnuradio-uhd.3.7.5.1.dylib (compatibility version 3.7.5, current version 0.0.0)
/opt/local/lib/libuhd.003.dylib (compatibility version 3.0.0, current version 3.8.0)
/opt/local/lib/libhackrf.0.dylib (compatibility version 0.0.0, current version 0.3.0)
/opt/local/lib/libbladeRF.1.dylib (compatibility version 1.0.0, current version 0.0.0)
libairspy.0.dylib (compatibility version 0.0.0, current version 1.0.3)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
if(APPLE)
set(GR_LIBRARY_DIR "lib")
if(NOT CMAKE_INSTALL_NAME_DIR)
set(CMAKE_INSTALL_NAME_DIR
${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE
PATH "Library Install Name Destination Directory" FORCE)
endif(NOT CMAKE_INSTALL_NAME_DIR)
if(NOT CMAKE_INSTALL_RPATH)
set(CMAKE_INSTALL_RPATH
${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE
PATH "Library Install RPath" FORCE)
endif(NOT CMAKE_INSTALL_RPATH)
if(NOT CMAKE_BUILD_WITH_INSTALL_RPATH)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON CACHE
BOOL "Do Build Using Library Install RPath" FORCE)
endif(NOT CMAKE_BUILD_WITH_INSTALL_RPATH)
endif(APPLE)
If you have not built libairspy before:
mkdir host/build
cmake ../
make
sudo make install
make uninstall
rm -rf *
cmake ../
make
sudo make install