Actions
Bug #6329
openrtl_sdr does not have correct rpath set on OSX build
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/12/2024
Due date:
% Done:
0%
Spec Reference:
Description
After building using these commands (copied from the wiki) on OSX:
cd rtl-sdr/
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
First, ldconfig won't work on a mac. However, up to that point, everything goes fine. But then when I try to run rtl_sdr, I get:
dyld[54169]: Library not loaded: @rpath/librtlsdr.2.dylib
Referenced from: <932B34BB-A147-366F-86D0-13D5D959A868> /usr/local/bin/rtl_sdr
Reason: no LC_RPATH's found
I'm not familiar at all with CMake, but I was able to get it to run by running:
sudo install_name_tool -add_rpath /usr/local/lib /usr/local/bin/rtl_sdr
I have to do that for all of the executables. I'm on Sonoma 14.2.1 on an M2.
No data to display
Actions