Bug: Sigrok/PulseView fails on Mint 20.3

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
-CO-Windler
Level 1
Level 1
Posts: 29
Joined: Mon Mar 22, 2021 12:44 am
Location: Germany
Contact:

Bug: Sigrok/PulseView fails on Mint 20.3

Post by -CO-Windler »

The electronics measurement software Sigrok/PulseView does not work on Linux Mint 20.3 Cinnamon despite this is an official package.

Code: Select all

/home/co-windler$ sigrok-cli
sigrok-cli: error while loading shared libraries: libzip.so.2: cannot open shared object file: No such file or directory

/home/co-windler$ pulseview
pulseview: error while loading shared libraries: libzip.so.2: cannot open shared object file: No such file or directory
On my Thinkpad X61t I sucesslessly tried hard to compile sigrok/pulseview on Linux Mint 17.3 KDE to use a logic analyzer, which failed by too old Qt version. So after a catastrophically failed update through edited package sources I finally installed Linux Mint 20.1 from DVD and upgraded to 20.3, but its available sigrok package does not work. That is to say, I took the ordeal of updating Mint on this laptop solely for this particular program, and not only the new GUI is butt-ugly with many flaws, but also the Wacom finger touchscreen fails, which did work in KDE4 and is needed for tablet mode.

On my main PC under Linux Mint 20.1 Cinnamon the sigrok package starts sucessfully, but it useless there because that huge machine (Colani bigtower with 22'' CRT) is in another room and can not run on battery which I need for measurement.

Please urgently fix this.

Code: Select all

                       MÖGE DIE SOFTWARE MIT EUCH SEIN!

*============================================================================*
I                  CYBERYOGI Christian Oliver(=CO=) Windler                  I
I   (Lehrmeister der LOGOLOGIE - der ersten Religion des Cyberzeitalters!)   I
I                                      !                                     I
*============================ÄCHTET=DIE=BRUTALITÄT===========================*
                           {http://Weltenschule.de }
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
MAY THE SOFTWARE BE WITH YOU!

I research hardware of old music keyboards and soundtoys.
http://weltenschule.de
User avatar
spamegg
Level 14
Level 14
Posts: 5038
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Bug: Sigrok/PulseView fails on Mint 20.3

Post by spamegg »

It seems like you are just missing some libraries. How did you install these programs? What steps did you follow?

I found these AppImages that should have all the necessary libraries included: https://www.sigrok.org/wiki/Downloads#L ... e_binaries If you use these AppImages then you don't have to deal with missing libraries and dependencies.

If you still want to pursue what you have installed:

Code: Select all

 ➜ apt search libzip
p   android-libziparchive                                        - Library for ZIP archives                                              
p   android-libziparchive-dev                                    - Library for ZIP archives - Development files                          
p   libzip-dev                                                   - library for reading, creating, and modifying zip archives (development
p   libzip-dev:i386                                              - library for reading, creating, and modifying zip archives (development
p   libzip-ocaml                                                 - OCaml compression libraries (runtime libraries)                       
p   libzip-ocaml-dev                                             - OCaml compression libraries (development files)                       
v   libzip-ocaml-dev-x6zq1                                       -                                                                       
v   libzip-ocaml-x6zq1                                           -                                                                       
p   libzip4j-java                                                - java library for zip files                                            
i   libzip5                                                      - library for reading, creating, and modifying zip archives (runtime)   
p   libzip5:i386                                                 - library for reading, creating, and modifying zip archives (runtime)   
p   libzipios++-dev                                              - small C++ library for reading zip files (development)                 
p   libzipios++-doc                                              - small C++ library for reading zip files (documents)                   
p   libzipios++0v5                                               - small C++ library for reading zip files (library)
Installing one of these might help, maybe? I think the relevant ones are libzip-dev libzip-dev:i386 libzip5 libzip5:i386 while the others don't look relevant.
-CO-Windler
Level 1
Level 1
Posts: 29
Joined: Mon Mar 22, 2021 12:44 am
Location: Germany
Contact:

Re: Bug: Sigrok/PulseView fails on Mint 20.3

Post by -CO-Windler »

I only selected the packages included by aptitude (sigrok,pulseview etc.) in Linux Mint 20.3 Cinnamon. But it requests libzip2 instead of libzip4 or so. I tried to fool it with ln -s, but another DLL was wrong version too, and after another ln -s pulseview still crashed with an address not found in that DLL.

Before I installed 20.3 on the Thinkpad X61t, I had attempted on 17.3 to compile it from official sources, but that needed Qt 5.3 while 17.3 had only Qt 5.2 or such. (I overwrote that installation and don't have 17.3 anymore.)

Here on my Colani bigtower I have Mint 20.1, which pulseview (installed through aptitude) started ok. Strange is that here (upgraded to a KDE5 Plasma with Vista theme) it starts in fullscreen mode without window rim that is hard to close (I had to switch to workspaces overview and kill it from terminal or use Alt-F4). And even here it showed a couple of errors:

Code: Select all

co_windler@Juchhe:/usr/src$ pulseview
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/16/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/16@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/16/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/16@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/22/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/22@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/24/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/24@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/32/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/32/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/32@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/32@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/48/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/48@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/48/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/48@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/64/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/64@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/64/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/64@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/96/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/96@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/128/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/128@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/256/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/256@2x/"
Invalid Context= "Apps" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/apps/symbolic/"
Invalid Context= "Mimetypes" line for icon theme:  "/home/co_windler/.local/share/icons/Windows Vista/mimetypes/symbolic/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
Icon theme "Papirus" not found.
co_windler@Juchhe:/usr/src$
Installing (but not activating) the icon theme Papirus does not change the behaviour (so I removed it). I managed to get the window border back with Alt-F3 and disable the checked fullscreen mode, so it may have been a KDE glitch or typo.
MAY THE SOFTWARE BE WITH YOU!

I research hardware of old music keyboards and soundtoys.
http://weltenschule.de
User avatar
spamegg
Level 14
Level 14
Posts: 5038
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Bug: Sigrok/PulseView fails on Mint 20.3

Post by spamegg »

Well from what you report, it looks like those versions are not well maintained, the site says the AppImages are nightly, so you should go with that I think. Give the AppImages a try and see if they work well.
Locked

Return to “Software & Applications”