Does not work Gqrx

Does not work Gqrx

An error occurs when starting it -

$ gqrx 
gqrx: error while loading shared libraries: cannot open shared object file: No such file or directory

the installation rx_tools did not help.

How can this problem be solved?

Installed from AUR or from standard repository?

From Standart repository

Then you are in a partial upgrade state. Also post:

ldd /usr/bin/gqrx

I’d look for which package provides that library - or is supposed to provide it.
Apparently it isn’t there.

I have zero experience in this SDR area.

It would be my guess and recommendation to make sure that your system is fully updated.
It probably isn’t.

None. :smiley:


Ah wait, I just figured this is for ARM. :man_shrugging: Well ldd output would still be nice.
And add to it:

pacman -Q gqrx rtl-sdr


Nevermind, gqrx wasn’t pushed into stable and testing ARM yet, so you’ll have to wait for that.

Ahh - ok.
I try to pay attention, but I often miss this, at least initially.

In this case:
I have zero knowledge and should not have said anything at all.

Sorry @Craft - nevermind. Ignore what I said.

That ldd output is unreadable.

Anyway, as I said, you either have to wait for gqrx to be pushed to stable, take it from unstable branch or downgrade rtl-sdr.

My system has been completely updated to stable mode.

Please my result:

# pacman -Q gqrx rtl-sdr
gqrx 2.17.3-1
rtl-sdr 1:2.0.1-3


ldd /usr/bin/gqrx (0x0000ffffb45ae000) => /usr/lib/ (0x0000ffffb40c0000) => /usr/lib/ (0x0000ffffb40a0000) => /usr/lib/ (0x0000ffffb3fb0000) => /usr/lib/ (0x0000ffffb3f40000) => /usr/lib/ (0x0000ffffb3f20000) => /usr/lib/ (0x0000ffffb3da0000) => /usr/lib/ (0x0000ffffb3d20000) => /usr/lib/ (0x0000ffffb3520000) => /usr/lib/ (0x0000ffffb2c40000) => /usr/lib/ (0x0000ffffb25c0000) => /usr/lib/ (0x0000ffffb2520000) => /usr/lib/ (0x0000ffffb2420000) => /usr/lib/ (0x0000ffffb2140000) => /usr/lib/ (0x0000ffffb2100000) => /usr/lib/ (0x0000ffffb1f30000) => /usr/lib/ (0x0000ffffb1ec0000) => /usr/lib/ (0x0000ffffb1db0000) => /usr/lib/ (0x0000ffffb1b50000) => /usr/lib/ (0x0000ffffb1aa0000) => /usr/lib/ (0x0000ffffb1a70000) => /usr/lib/ (0x0000ffffb18b0000)
	/lib/ => /usr/lib/ (0x0000ffffb4575000) => /usr/lib/ (0x0000ffffb1840000) => /usr/lib/ (0x0000ffffb1820000) => /usr/lib/ (0x0000ffffb1750000) => /usr/lib/ (0x0000ffffb1720000) => /usr/lib/ (0x0000ffffb1700000) => /usr/lib/ (0x0000ffffb1260000) => /usr/lib/ (0x0000ffffb11e0000) => /usr/lib/ (0x0000ffffb11c0000) => /usr/lib/ (0x0000ffffb1180000) => /usr/lib/ (0x0000ffffb1160000) => not found => /usr/lib/ (0x0000ffffb10b0000) => /usr/lib/ (0x0000ffffb0010000) => /usr/lib/ (0x0000ffffafff0000) => /usr/lib/ (0x0000ffffaff30000) => /usr/lib/ (0x0000ffffaff10000) => /usr/lib/ (0x0000ffffafe80000) => /usr/lib/pulseaudio/ (0x0000ffffafde0000) => /usr/lib/ (0x0000ffffafd60000) => /usr/lib/ (0x0000ffffafcd0000) => /usr/lib/ (0x0000ffffafc90000) => /usr/lib/ (0x0000ffffafc60000) => /usr/lib/ (0x0000ffffafc00000) => /usr/lib/ (0x0000ffffafaa0000) => /usr/lib/ (0x0000ffffaf910000) => /usr/lib/ (0x0000ffffaf820000) => /usr/lib/ (0x0000ffffaf7c0000) => /usr/lib/ (0x0000ffffaf770000) => /usr/lib/ (0x0000ffffaf700000) => /usr/lib/ (0x0000ffffaf6b0000) => /usr/lib/ (0x0000ffffaf560000) => /usr/lib/ (0x0000ffffaf530000) => /usr/lib/ (0x0000ffffaf450000) => /usr/lib/ (0x0000ffffaf0c0000) => /usr/lib/ (0x0000ffffaee80000) => /usr/lib/ (0x0000ffffaed40000) => /usr/lib/ (0x0000ffffaed10000) => /usr/lib/ (0x0000ffffaecf0000) => /usr/lib/ (0x0000ffffaec50000) => /usr/lib/ (0x0000ffffaeba0000) => /usr/lib/ (0x0000ffffaeaa0000) => /usr/lib/ (0x0000ffffaea80000) => /usr/lib/ (0x0000ffffaea00000) => /usr/lib/ (0x0000ffffae970000) => /usr/lib/ (0x0000ffffae920000) => /usr/lib/ (0x0000ffffae840000) => /usr/lib/ (0x0000ffffae780000) => /usr/lib/ (0x0000ffffae660000) => /usr/lib/ (0x0000ffffae610000) => /usr/lib/ (0x0000ffffae5f0000) => /usr/lib/ (0x0000ffffae5c0000) => /usr/lib/ (0x0000ffffae5a0000) => /usr/lib/ (0x0000ffffae570000) => /usr/lib/ (0x0000ffffae530000) => /usr/lib/libproxy/ (0x0000ffffae510000) => /usr/lib/ (0x0000ffffae490000) => /usr/lib/ (0x0000ffffae450000) => /usr/lib/ (0x0000ffffae3f0000) => /usr/lib/ (0x0000ffffae3c0000) => /usr/lib/ (0x0000ffffaddb0000) => /usr/lib/ (0x0000ffffadd90000) => /usr/lib/ (0x0000ffffadd50000) => /usr/lib/ (0x0000ffffadd30000) => /usr/lib/ (0x0000ffffadba0000) => /usr/lib/ (0x0000ffffadb60000) => /usr/lib/ (0x0000ffffadac0000) => /usr/lib/ (0x0000ffffada80000) => /usr/lib/ (0x0000ffffada50000) => /usr/lib/ (0x0000ffffabbb0000) => /usr/lib/ (0x0000ffffabb90000) => /usr/lib/ (0x0000ffffaba80000) => /usr/lib/ (0x0000ffffaba40000) => /usr/lib/ (0x0000ffffaba00000) => /usr/lib/ (0x0000ffffab9a0000) => /usr/lib/ (0x0000ffffab980000) => /usr/lib/ (0x0000ffffab8c0000) => /usr/lib/ (0x0000ffffab870000) => /usr/lib/ (0x0000ffffab800000) => /usr/lib/ (0x0000ffffab790000) => /usr/lib/ (0x0000ffffab700000) => /usr/lib/ (0x0000ffffab6c0000) => /usr/lib/ (0x0000ffffab5f0000) => /usr/lib/ (0x0000ffffab510000) => /usr/lib/ (0x0000ffffab2b0000) => /usr/lib/ (0x0000ffffab240000) => /usr/lib/ (0x0000ffffab220000) => /usr/lib/ (0x0000ffffab200000) => /usr/lib/ (0x0000ffffab1a0000) => /usr/lib/ (0x0000ffffab180000) => /usr/lib/ (0x0000ffffab160000) => /usr/lib/ (0x0000ffffab120000) => /usr/lib/ (0x0000ffffab0d0000) => /usr/lib/ (0x0000ffffab080000) => /usr/lib/ (0x0000ffffab020000) => /usr/lib/ (0x0000ffffaaff0000) => /usr/lib/ (0x0000ffffaafd0000) => /usr/lib/ (0x0000ffffaaf40000) => /usr/lib/ (0x0000ffffaad70000) => /usr/lib/ (0x0000ffffaad00000)

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Seems to work ok on the unstable branch.

That’s provided by rtl-sdr, FYI. However, the current library is currently

❯ pacman -Fx librtlsdr
extra/rtl-sdr 1:2.0.1-3

Wow, this is awesome! :+1: Can I do this in a stable branch?

Yes, the same version is in all branches. See Packages

However you may need to update your local database to match the repo:

sudo pacman -Fy

I’ve already done this -

sudo pacman -Fy


pamac install rtl-sdr
Attention: rtl-sdr-1:2.0.1-3 is not outdated -- skipped
There are no tasks.
The transaction has been completed successfully.

What exactly should I do next?

I have no clue what you may or may not have going on there. The one error you mentioned above is for SoapySDR which I do not have but see gqrx searching for it also in my terminal before it finds my device.

[ray@jellyfin ~]$ gqrx
gr-osmosdr (0.2.0) gnuradio
built-in source types: file rtl rtl_tcp uhd hackrf bladerf rfspace airspy soapy redpitaya 
vmcircbuf_prefs::get :info: /home/ray/.gnuradio/prefs/vmcircbuf_default_factory failed to open: bad true, fail true, eof true
rx_nb_cc :info: set_min_output_buffer on block 12 to 32768
Resampling audio 96000 -> 48000
BandPlanFile is /home/ray/.config/gqrx/bandplan.csv
BookmarksFile is /home/ray/.config/gqrx/bookmarks.csv
[INFO] [UHD] linux; GNU C++ version 12.1.0; Boost_108300; UHD_4.6.0.0-0-unknown
[ERROR] SoapySDR::loadModule(/usr/lib/SoapySDR/modules0.8/
  dlopen() failed: cannot open shared object file: No such file or directory
QFSFileEngine::open: No file name specified
gr-osmosdr (0.2.0) gnuradio
built-in source types: file rtl rtl_tcp uhd hackrf bladerf rfspace airspy soapy redpitaya 
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner

One thing I do have is a blacklist loaded at boot as some modules interfere with the rtl-sdr.

[ray@jellyfin ~]$ cat /etc/modprobe.d/blacklist-rtlsdr.conf 

blacklist dvb_core
blacklist dvb_usb_rtl2832u
blacklist dvb_usb_rtl28xxu
blacklist dvb_usb_v2
blacklist r820t
blacklist rtl2830
blacklist rtl2832
blacklist rtl2832_sdr
blacklist rtl2838

# This alone will not prevent a module being loaded if it is a
# required or an optional dependency of another module. Some kernel
# modules will attempt to load optional modules on demand, which we
# mitigate here by causing /bin/false to be run instead of the module.
# The next time the loading of the module is attempted, the /bin/false
# will be executed instead. This will prevent the module from being
# loaded on-demand. Source:

install dvb_core /bin/false
install dvb_usb_rtl2832u /bin/false
install dvb_usb_rtl28xxu /bin/false
install dvb_usb_v2 /bin/false
install r820t /bin/false
install rtl2830 /bin/false
install rtl2832 /bin/false
install rtl2832_sdr /bin/false
install rtl2838 /bin/false

No idea because…

… tells us absolutely nothing. Please try again.

All I did was check the library versions and told you how to check–and that’s all I’m going to do.

Please see:

But gqrx is not.

I see. Well, I suggest @Craft switch to the testing branch and see if that makes any difference.

I found a simple solution that helped launch Gqrx 2.17.3 from the stable branch:

ln -s  /usr/lib/    /usr/lib/

That’s never a solution.