64 bit LM19 & Ubuntu18.04 getting started guide

General discussions
richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

64 bit LM19 & Ubuntu18.04 getting started guide

Postby richard-g8jvm » Wed Nov 28, 2018 11:04 am

There are a few problems that you will encounter if you run either 64 bit linux mint 19 or Unbuntu 18.04
This should also help debian users.
This has been used by me and checked again on a new install of the OS
First download
SDRplay_RSP_API-Linux-2.13.1.run
cd to the directory you downloaded it to, usually ~/Downloads
[code
sudo ./SDRplay_RSP_API-Linux-2.13.1.run
[/code]
run it as root so it installs in /usr/local without problems

install dependencies

Code: Select all

sudo apt install cmake gcc g++ python-dev swig python-numpy mc

goto
https://github.com/pothosware/SoapySDR/ ... structions
follow instructions for downloading and building for ubuntu, you have already downloaded the depencies so skip that bit

runing SoapySDRUtil --info
will give a can't find lib error,
So we fix it by linking the library location

Code: Select all

sudo mc


NOTE: if you want to use the CLI for creating the two symbolic links the format is

Code: Select all

ln -s TARGET LINK_NAME

very easy to get wrong , hence the use of MC also known as Midnight Commander

this will open a two pane file commander and we use it to create a symbolic link, the easy way
on the left side step up to see the two dots , the top of the directory
work you way through to
/usr/lib/x86_64-linux-gnu and select that directory

go to the Right hand pane and go to /usr/lib64
click on @libSoapySDR.so.0.7
now on the top line you will see Files, open that and select "symlink"
clicking on that will create a symbolic link from the main libs section to the wanted library
Do the same for @libSoapySDR.so
"quit" mc
run
SoapySDRUtil --info now finds the lib but not the modules
Next install SoapySDRPlay

Code: Select all

cd ~/
git clone https://github.com/pothosware/SoapySDRPlay.git
cd SoapySDRPlay
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

Code: Select all

sudo mkdir /usr/local/lib64
cd /usr/local/lib64
sudo cp -R ../lib/SoapySDR .

if all has gone OK

Code: Select all

$ SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.7.1-g33be191d
API Version: v0.7.0
ABI Version: v0.7
Install root: /usr
Search path:  /usr/lib64/SoapySDR/modules0.7                            (missing)
Search path:  /usr/local/lib64/SoapySDR/modules0.7
Module found: /usr/local/lib64/SoapySDR/modules0.7/libsdrPlaySupport.so (0.1.0)
Available factories... sdrplay
Available converters...
 -  CF32 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS16 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS32 -> [CS32]
 -   CS8 -> [CF32, CS16, CS8, CU16, CU8]
 -  CU16 -> [CF32, CS16, CS8]
 -   CU8 -> [CF32, CS16, CS8]
 -   F32 -> [F32, S16, S8, U16, U8]
 -   S16 -> [F32, S16, S8, U16, U8]
 -   S32 -> [S32]
 -    S8 -> [F32, S16, S8, U16, U8]
 -   U16 -> [F32, S16, S8]
 -    U8 -> [F32, S16, S8]

This will get you to the point of moving forward to installing GQRX or gr-osmosdr for use with gnu-radio
see
http://www.sdrplay.com/start_grosmosdr.html
https://osmocom.org/projects/gr-osmosdr/wiki
Hope this helps

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: 64 bit LM19 & Ubuntu18.04 getting started guide

Postby richard-g8jvm » Tue Dec 04, 2018 2:24 pm

It would appear SoapySDR are making a few changed
I spotted this when installing on another machine
the directory modules0.7/ has been changed to modules/
but SoapySDRUtil --info still looks in the old place
Just copy the dir and change the dir name

To use GQRX

Code: Select all

sudo apt install libqt5svg5-dev doxygen libboost-all-dev gnuradio-dev
git clone https://gitlab.com/HB9FXQ/gr-sdrplay.git
cd gr-sdrplay && mkdir build && cd build
cmake .. && make && sudo make install && sudo ldconfig
cd ~/

now load gr-osmosdr

Code: Select all

git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build && cd build
cmake ../
make
sudo make install && sudo ldconfig
cd ~/

load gqrx
go to www.http://gqrx.dk/download
click on source code
move the gqrx-sdr-2.11.5-src.tar.xz to your home directory

Code: Select all

unxz gqrx-sdr-2.11.5-src.tar.xz
tar xvf gqrx-sdr-2.11.5-src.tar
cd gqrx-sdr
mkdir build && cd build
cmake ..
make && sudo make install && sudo ldconfig
cd ~/

There may be a few dependecies I 've missed, apologies if so, but they are easy to spot and load
you can now run gqrx, select SRDPLAY on the IO drop down

HTH

Reason: No reason


Return to “General”

Who is online

Users browsing this forum: No registered users and 9 guests