Closed Sineos closed 2 years ago
What does this report?
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --libs librtlsdr
And why are you setting PKG_CONFIG_PATH
? Isn't /usr/local
already a default pkg-config path?
Thanks for your reply.
ubuntu@ubuntu:~/01_src/rtl_433/build$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --libs librtlsdr
-L/usr/local/lib -lrtlsdr -lusb-1.0
And why are you setting
PKG_CONFIG_PATH
? Isn't/usr/local
already a default pkg-config path?
Was an attempt to get rid of the error. Happens without as well.
Can you show the entries from the CMake cache? grep LibRTLSDR_ CMakeCache.txt
This did the trick. It had old entries. Removing it and building worked. Many thanks, really appreciated.
I was running make clean
before but that apparently does not remove the CMakeCache.txt
. A distclean
target seems not existing.
Trying to build on a RPi / Ubuntu and getting following error message:
librtlsdr.so
is here:pkconfig
should be searching this path:What am I doing wrong?