Fatal error: rtl-sdr.h: No such file or directory

尝试 make dump1090 时出现错误

Package librtlsdr was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtlsdr.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtlsdr' found
cc -O2 -g -Wall -W  -c dump1090.c
dump1090.c:46:10: fatal error: rtl-sdr.h: No such file or directory
   46 | #include "rtl-sdr.h"
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:9: dump1090.o] Error 1

解决方案:
sudo apt install librtlsdr-dev


ref: https://github.com/antirez/dump1090/issues/108