A workaround (and a fix if this is packaged) is to replace /usr/lib/x86_64-linux-gnu/pkgconfig/librtlsdr.pc with this:
prefix=/usr libdir=${prefix}/lib/x86_64-linux-gnu includedir=${prefix}/include Name: RTL-SDR Library Description: C Utility Library Version: 0.6.0 Cflags: -I${includedir}/ Libs: -L${libdir} -lrtlsdr Libs.private: -lusb-1.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831387 Title: pkg-config returns bad paths To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rtl-sdr/+bug/1831387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs