<html><body><div style="color:; background-color:; font-family:arial, helvetica, sans-serif;font-size:13px"><div><span>Under OpenBSD 5.0 I get:</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>Linking C executable rtl_test<br>/usr/bin/ld: cannot find -lrt<br>collect2: ld returned 1 exit status<br>gmake[2]: *** [src/rtl_test] Error 1<br>gmake[1]: *** [src/CMakeFiles/rtl_test.dir/all] Error 2<br>gmake: *** [all] Error 2<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>It built librtlsdr.so.0.0, </span>rtl_eeprom, rtl_fm, rtl_sdr, rtl_tcp so I think it mostly
 worked.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">In /usr/tmp/hardware/rtl_dongle/osmocom/git/rtl-sdr/build/src/CMakeFiles/rtl_test.dir/link.txt I see:</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">-lpthread -lm -lrt -Wl<br></div><div><br></div><div>The whole link.txt says (continuation \ added by me to shorten lines):</div><div>/usr/bin/gcc  -DNDEBUG  -L/usr/local/lib CMakeFiles/rtl_test.dir/rtl_test.c.o \</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"> -o rtl_test 
 librtlsdr.so.0.0 /usr/local/lib/libusb-1.0.so.1.0 -lpthread -lm \<br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">-lrt -Wl,-rpath,/usr/tmp/hardware/rtl_dongle/osmocom/git/rtl-sdr/build/src \</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">-Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">It looks like it's trying to link against a library it hasn't installed yet.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif;
 background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Is this just an OpenBSD thing or has it happened to anyone else?  I saw hamlib do something similar but I had an old version of that installed.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">  Alan, ab1jx<br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent;
 font-style: normal;">----------------------------------------------<br>Radio Astronomy - the ultimate DX<br></div></div></body></html>