Hello, I installed and built this application onto my RPI 3 according to these videos:
I have followed the entire videos twice but wasn't in the same directory for part one which was installing and building for the system to run my dongle. I was in pi@raspberrypi:~$ instead of pi@raspberrypi:~/etc/apt $ but it didn't seem to make a difference. After rebooting and using the rtl test it showed up correctly.
pi@raspberrypi:~ $ rtl_test -t
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.
And so I'm having an issue building and running gqrx...
First I downloaded gqrx-sdr-2.11.5-linux-rpi3 as a Tar file.
I opened a terminal and did this:
pi@raspberrypi:~ $ pwd
/home/pi
pi@raspberrypi:~ $ ls
Music
oldconffiles
Pictures
Public
Desktop rtl-sdr
Develop
Downloads
Videos
pi@raspberrypi:~ $ cd Downloads
pi@raspberrypi:~/Downloads $ ls
gqrx-2.9-linux-armv6.tar.xz
gqrx-sdr-2.11.5-linux-rpi3.tar.xz
pi@raspberrypi:~/Downloads $ tar xf gqrx-sdr-2.11.5-linux-rpi3.tar.xz
pi@raspberrypi:~/Downloads $ ls
gqrx-2.9-linux-armv6.tar.xz
gqrx-sdr-2.11.5-linux-rpi3.tar.xz
gqrx-sdr-2.11.5-linux-rpi3
pi@raspberrypi:~/Downloads $ cd gqrx-sdr-2.11.5-linux-rpi3
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ ls
bin gqrx lib readme.txt udev
(said some other stuff before hand but this is just to show)
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ cat readme.txt
This is Gqrx v2.11 for the Rapsberry Pi 3.
It was built on a Raspberry Pi 3 running Raspbian Stretch, but should
also work on other similar ARM boards running a Debian 9 based Linux
distribution.
First, you need to install the GNU Radio and Qt5 libraries. Open a
terminal and type the following lines:
sudo apt update
sudo apt install gnuradio libvolk1-bin libusb-1.0-0 gr-iqbal
sudo apt install qt5-default libqt5svg5 libportaudio2
Second, in order to enable access to USB devices like rtlsdr, Airspy,
SDRPlay, etc, you need to copy the corresponding udev rule to
/etc/udev/rules.d/. Open a terminal and change to the gqrx directory
then type:
sudo cp udev/*.rules /etc/udev/rules.d/
You can now start the program, e.g. by double-clicking on the file
called "gqrx".
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt-get update
Fetched 1,959 B in 21s (89 B/s)
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
pix-icons pix-plym-splash pixel-wallpaper
Use 'apt-get autoremove' to remove them.
Done
The following packages have been kept back:
python-openssl python3-openssl
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt install gnuradio libvolk1-bin libusb-1.0-0 gr-iqbal
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libvolk1-bin
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt-get install libvolk1-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libvolk1-bin
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt install libvolk-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
libvolk-bin is already the newest version.
The following packages were automatically installed and are no longer required:
pix-icons pix-plym-splash pixel-wallpaper
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt install qt5-default libqt5svg5 libportaudio2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libportaudio2 is already the newest version.
libqt5svg5 is already the newest version.
qt5-default is already the newest version.
The following packages were automatically installed and are no longer required:
pix-icons pix-plym-splash pixel-wallpaper
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo cp udev/*.rules /etc/udev/rules.d/
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $
At this point I went into /Downloads/gqrx-sdr-2.11.5-linux-rpi3 and doubled clicked the gqrx executable file and it asked me "Execute file, Execute in terminal, Cancel" and I tried both execute file and execute in terminal. Nothing happened so I tried to use ./setup_gqrx.sh like the RPI 2 version, but it didn't work. Then I tried ./run_gqrx.sh and that still didn't work, so then I tried ./run_gqrx and still nothing. Someone online said to use ./gqrx so I tried that and something happened... Here it is:
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ ./gqrx
./gqrx: error while loading shared libraries: libboost_system.so.1.62.0: cannot open shared object file: No such file or directory
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $
and so at this point I'm stumped because I messed up with the RTL-SDR files and such but it still worked out ok and I don't think I made any mistakes installing and building gqrx here, but I know nothing and this is my second time trying to install and build an application on here. I only just started on Raspbian little alone Linux so please excuse me, I really don't know what I'm doing at all but I only got one error during installation and one trying to run the application so I think, I did everything correctly according to the tutorials... Not sure what is causing this to happen. Anyway, I tired to install libboost_system.so.1.62.0 and nothing, Here's that:
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt-get install libboost_system.so.1.62.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost_system.so.1.62.0
E: Couldn't find any package by regex 'libboost_system.so.1.62.0'
pi@raspberrypi:~/Downloads/gqrx-sdr-2.11.5-linux-rpi3 $ sudo apt install libboost_system.so.1.62.0
And this is where it blew up in my face. So much spammed my terminal that I cannot really show you what happened or I'd spam. Maybe a good 100-400 lines of something all starting with note, and I have no clue how much it was or what it did.. Here are the last lines of the response:
Note, selecting 'pypy-lib' instead of 'pypy-cffi-backend-api-9729'
Note, selecting 'pypy-lib' instead of 'pypy-cffi-backend-api-max'
Note, selecting 'pypy-lib' instead of 'pypy-cffi-backend-api-min'
Note, selecting 'xserver-xorg-core' instead of 'xorg-input-abi-22'
Note, selecting 'xserver-xorg-core' instead of 'xorg-video-abi-20'
E: Unable to locate package pi@raspberrypi
E: Unable to locate package apt-get
E: Unable to locate package install
E: Unable to locate package libboost_system.so.1.62.0
E: Couldn't find any package by regex 'libboost_system.so.1.62.0'
I'm not sure what to do now. I don't know if this is because I tried to install it twice, or if Jessie 8.0 doesn't support it or what... I'm assuming for now Jessie 8.0 cannot and I need Stretch 9.0 because that has happened while trying to install and build other applications such as Steam. That is why you'll notice the i386 package error during the apt-get update or upgrade is because my system is ARM and doesn't actually run i386 apparently. Took me a lot of effort just to find that out and try to fix it for nothing... Anyway, if anyone could help out that'd be great! I'm kind of hoping I just made a small error or something went wrong that can be fixed somehow... :)