64 bit LM19 & Ubuntu18.04 getting started guide
Posted: 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
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
NOTE: if you want to use the CLI for creating the two symbolic links the format is
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
if all has gone OK
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
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
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
Code: Select all
ln -s TARGET LINK_NAME
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 .
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]
see
http://www.sdrplay.com/start_grosmosdr.html
https://osmocom.org/projects/gr-osmosdr/wiki
Hope this helps