Ubuntu 22.04 LTS sgirok-cli fails to start shared library problem?

br flag

sudo apt update && sudo apt upgrade run without errors.
sudo apt install sigrok-cli runs with No error messages and installs sigrok-cli into /usr/bin.

But on running sigrok-cli it immediately aborts with an error message

sigrok-cli: error while loading shared libraries: cannot open shared object file: No such file or directory

ldd /usr/bin/sigrok-cli returns nothing

The sigrok-cli is installed in /usr/bin

strings /usr/bin/sigrok-cli|grep nettle reports nothing

There is no according to dpkg -S dpkg-query: no path found matching pattern

My system does have libnettle8 dpkg -S libnettle8:amd64: /usr/lib/x86_64-linux-gnu/ libnettle8:amd64: /usr/lib/x86_64-linux-gnu/

if I search the entire root fs I find the following references to*

/snap/core20/1828/usr/lib/x86_64-linux-gnu/ /snap/core20/1828/usr/lib/x86_64-linux-gnu/ /snap/core20/1828/usr/share/doc/libnettle7 /snap/core20/1852/usr/lib/x86_64-linux-gnu/ /snap/core20/1852/usr/lib/x86_64-linux-gnu/ /snap/core20/1852/usr/share/doc/libnettle7 /snap/gnome-3-38-2004/119/usr/lib/x86_64-linux-gnu/ /snap/gnome-3-38-2004/119/usr/lib/x86_64-linux-gnu/ /snap/gnome-3-38-2004/119/usr/lib/x86_64-linux-gnu/ /snap/gnome-3-38-2004/137/usr/lib/x86_64-linux-gnu/ /snap/gnome-3-38-2004/137/usr/lib/x86_64-linux-gnu/ /snap/gnome-3-38-2004/137/usr/lib/x86_64-linux-gnu/

What's going? System seems stable, its largely used for C and embedded C and assembler programming gnu-gcc for arm, esp32 and avr, sdcc stmflash for 8 and 32 bit usbtiny and arduino

David avatar
cn flag
I would say it is very clear it does have dependencies. Do you have that file anywhere in your file system?
nobody avatar
gh flag
Please show us `which sigrok-cli`
hr flag
AFAIK the version of nettle on 22.04 is libnettle8 not libnettle7
nobody avatar
gh flag
`sudo sigrok-cli --list-serial [sudo] Passwort für alex: Available serial/HID/BT/BLE ports: /dev/ttyS4 ttyS4 snip` No prob here on jammy.
waltinator avatar
it flag
Please [edit] your post to add new information, properly formatted. Information added via comments is hard for you to format, hard for us to read and ignored by future readers (who have better answers). Please click [edit] and add that vital information to your question so all the facts we need are in the question. Please don't use Add Comment, since that's our way to help you improve your question. All facts about your system and problem should go in the Question with [edit]. Please read and . Help us help you.
waltinator avatar
it flag
Perhaps `sigrok-cli` calls another program which has the dependency. Find out with `strings /usr/bin/sigrok-cli | less`
waltinator avatar
it flag
To see which package (if any) provides the `` file, use `dpkg -S`.
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.