Kalibrate installation failed

Hello !

I am trying to install Kalibrate but I have errors when I give the “make” command.

I did this:

sudo apt-get install libtool autoconf automake libfftw3-dev
git clone https://github.com/steve-m/kalibrate-rtl.git
cd kalibrate-rtl/
./bootstrap
./configure
make

To get these errors:

Thanks for your help…

The headers/libraries that contain the implentation of rtlsdr_read_sync are not found. Therefore, look for installing librtlsdr-dev.

Hello !

librtlsdr-dev is already present:
image

I think, it cannot find librtlsdr.so

I did a search with:
find . -name "librtlsdr.so" -exec ls -lh "{}" \;
Find in: "./usr/lib/arm-linux-gnueabihf/librtlsdr.so "

Then I made the following change:
Add full path (./usr/lib/arm-linux-gnueabihf/librtlsdr.so) after “-lfftw3 -L”):
cd kalibrate-rtl/src
g++ -I/ -W -Wall -O3 -o kal kal-arfcn_freq.o kal-c0_detect.o kal-circular_buffer.o kal-fcch_detector.o kal-kal.o kal-offset.o kal-usrp_source.o kal-util.o -lfftw3 -L ./usr/lib/arm-linux-gnueabihf/librtlsdr.so -lrtlsdr -lrt

I relaunched the commands:
cd kalibrate-rtl/
./bootstrap
./configure
make
sudo make install

It now works for me.
Can someone possibly confirm whether to modify the wiki or provide a better solution from it?

1 Like