Raspberry-pi4 Anydesk problem with libpolkit-gobject-1.so.0
I’m trying to install Anydesk on my Raspberry pi which is running ubuntu. When I run anydesk on the terminal i get:
I’ve ran and get:
Enter to win a FOUR Win Portable Monitors
6 Replies
The package you need to install for that shared library file is libpolkit-gobject-1-0
I also have some problems with AnyDesk on m Pi 4 running raspbian full.
Installed anydesk 5.1.2-1 and got the icon in the taskbar.
But when trying to open a session from the menu / internet / anydesk I just get the hourglass and — nothing happens.
Tried to uninstall and reinstall also with version anydesk_5.5.2-1_armhf.deb it doesn’t work.
When executing from the terminal window with sudo andesk I get * failed to add service — already in use? even when I closed the taskbar icon.
On my second Pi 4 everything works like a charm.
I would appreciate any suggestions and help.
Same problem for me . installed x-times and it don’t work as expected. Other machines work fine — on my Pi4 it won’t work as client. The host-part is working so I can control Pi4 from other machines
The package you need to install for that shared library file is libpolkit-gobject-1-0
I installed libpolkit-gobject-1-0. It installed just fine. Actually it said:
libpolkit-gobject-1-0 is already the newest version (0.105-26ubuntu1).
Still got same error message on trying to run anydesk:
anydesk: error while loading shared libraries: llibpolkit-gobject-1.so.0: cannot open shared object file.
Is anydesk looking in the wrong place?
Any help would be much appreciated!
The package I install is:
sudo apt-get install libpolkit-gobject-1-dev
now the error does not appear, but anydesk does not start me.
This topic has been locked by an administrator and is no longer open for commenting.
To continue this discussion, please ask a new question.
Read these next.
System-Root Full — 5230 Appliance
Before I begin, I know this appliance is EOL, but I need to keep it around for historical reasons. I have already reached out to support, they can’t help. I also have posted this on the VOX Community I have an issue with my 5230 appliance (I know it’s .
Snap! — Eyeless Telescope, John Deere Caves, AI-Simulated Voices, Flipper Zero
Your daily dose of tech news, in brief. Welcome to the Snap! Flashback: Back on January 10, 1938: Donald Ervin Knuth, best known for The Art of Computer Programming, is born (Read more HERE.) Bonus Flashback: Back on January 10, 1946: Rad.
Spark! Pro Series — 10 January 2023
Not a lot of tech history today. A few interesting space tidbits, and some great birthdays!Today in History: 10 January 1878 – US Senate proposes female suffrage 1901 – Oil discovered at Spindletop, Beaumont, ma.
dual boot windows and ubuntu
hi all,i have installed ubuntu alongside windows on a laptop, (i used the ubuntu installation when it came into partitioning the disk)trouble is now instead of booting up and asking what OS to use, it automatically boots up into windows every time, the on.
Nerd Journey # 201 — Generate Depth On-Demand with Yvette Edwards (1/2)
Sometimes we don’t learn about a career path or role until someone tells us about it. Yvette Edwards was a young developer who was encouraged to attend a career fair by a colleague. At that career fair she took the time to learn about the role of a sale.
Ubuntu 20.10 не работет anydesk
Если не запускается в Denian или в Ubuntu anydesk
В терминале запустите команду
Если в логах есть ошибка
/usr/bin/anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory
надо доставить эту библиотеку
Поделиться ссылкой:
Похожее
Автор публикации
conter
Восстановление базы 1С из бэкапа MS SQL
Увеличение разделов с Gparted
Добавить приложение для автоматического запуска при начальной загрузке Windows 10
9 thoughts on “ Ubuntu 20.10 не работет anydesk ”
Благодарю за совет! Но я заметил что достаточно поставить просто libpangox-1.0 (без -dev версии) — она гораздо меньше других пакетов за собой тянет, но для anydesk этого вполне достаточно. По крайней мере на Ubuntu 21.04 и Ubuntu 21.10 этого оказалось достаточно.
Благодарю, надо будет проверить !
У меня другая проблема не понятно. Программа запускается. Только вот когда из другово ПК (MacOS) пробую подключится к нему выводит картинку но потом ничего не могу делать/ Экран компьютера удаленного компьютера (Ubuntu) отключен.
Есть подозрение что проблема с видео драйвером
Ошибка error while loading shared libraries
Новые и опытные пользователи Linux могут сталкиваться с ошибкой error loading shared libraries во время запуска программ, также с ней могут сталкиваться программисты и все желающие компилировать программное обеспечение в своей системе. Эта ошибка в дословном переводе означает что возникла проблема во время загрузки общей библиотеки. О том что такое библиотеки и зачем они нужны вы можете узнать из статьи библиотеки Linux.
В этой же статье мы рассмотрим что значит ошибка error while loading shared libraries более подробно, а главное, как ее решить.
Что означает error while loading shared libraries?
Даже если вы не компилируете свои программы, то вы можете увидеть ошибку error while loading shared libraries: имя_библиотеки: cannot open shared object file: No such file or directory достаточно часто во время установки новых программ не через пакетный менеджер или программ, предназначенных для другого дистрибутива. Как я уже говорил, она возникает потому, что система не может найти библиотеку.
А вот почему ее нельзя найти и загрузить, это уже интересно. Этому может быть несколько причин:
- Библиотека не установлена в системе;
- Библиотека установлена, но неизвестно куда;
- Библиотека установлена правильно, но имеет не ту версию.
При решении проблемы мы будем руководствоваться именно этими причинами и пытаться их решить.
Как исправить ошибку?
1. Библиотека не установлена
Первый вариант, тут все понятно, библиотеки просто нет в системе, поэтому мы и получаем такую ошибку. Верный способ ее решения — просто найти пакет библиотеки с помощью пакетного менеджера и установить ее. Обычно, пакеты с библиотеками называются так же, как и сами библиотеки с префиксом lib.
Например, если нам не хватает библиотеки libfuse2.so, то мы можем найти ее в Ubuntu такой командой:
sudo apt search libfuse2
Затем осталось только установить ее:
sudo apt install libfuse2
Если перед вами стоит задача собрать программу из исходников, то вам понадобится не только установить саму библиотеку, но и заголовочные файлы для нее:
sudo apt install libfuse-dev
И так для любой библиотеки. Но это не всегда помогает.
2. Библиотека находится не в том каталоге
Бывает что библиотека установлена, мы установили ее или она поставлялась вместе с программой, но ошибка как была, так и есть. Причиной этому может быть то, что загрузчик Linux не может найти библиотеку.
Поиск библиотек выполняется по всех папках, которые указаны в конфигурационных файлах /etc/ld.conf.d/. По умолчанию, это такие каталоги, как /usr/lib, /lib, /usr/lib64, /lib64. Если библиотека установлена в другой каталог, то, возможно, это и есть причина проблемы.
Вы можете посмотреть какие библиотеки сейчас доступны загрузчику с помощью команды:
Найти, где находится ваша библиотека можно с помощью команды locate. Например, нас интересует библиотека librtfreader.so:
Теперь мы знаем, что она находится по адресу /opt/kingsoft/wps-office/office6/. А значит, для работы программы необходимо сделать чтобы загрузчик библиотек ее видел. Для этого можно добавить путь в один из файлов /etc/ld.so.conf.d/ или же в переменную LD_LIBRARY_PATH:
Опять же, так вы можете поставить с любой библиотекой, которая взывает ошибку. Еще один более простой метод — это просто создать символическую ссылку на нужную библиотеку в правильной папке:
ln -s /opt/kingsoft/wps-office/office6/librtfreader.so /usr/lib/librtfreader.so
3. Неверная версия библиотеки
Эта причина ошибки довольно часто встречается при использовании программ не для вашего дистрибутива. Каждая библиотека имеет дополнительную версию, так называемую ревизию, которая записывается после расширения .so. Например, libav.so.1. Так вот, номер версии меняется всякий раз, когда в библиотеку вносятся какие-либо исправления.
Часто возникает ситуация, когда в одном дистрибутиве программа собирается с зависимостью от библиотеки, например, libc.so.1, а в другом есть только libc.so.2. Отличия в большинстве случаев здесь небольшие и программа могла бы работать на второй версии библиотеки. Поэтому мы можем просто создать символическую ссылку на нее.
Например, библиотеки libusb-1.0.so.1 нет. Но зато есть libusb-1.0.so.0.1, и мы можем ее использовать:
Для этого просто создаем символическую ссылку на библиотеку:
sudo ln -s /usr/lib/libusb-1.0.so.0.1 /usr/lib/libusb-1.0.so.1
В большинстве случаев программа не заметит подмены и будет работать, как и ожидалось. Также для решения этой проблемы можно попытаться найти нужную версию библиотеки в интернете для своей архитектуры и поместить ее в папку /usr/lib/ или /usr/lib64/. Но после этого желательно обновить кэш:
Выводы
В этой статье мы рассмотрели почему возникает ошибка Error while loading shared libraries, а также как ее решить. В большинстве случаев проблема решается довольно просто и вы получите работоспособную программу. Надеюсь, эта информация была полезной для вас.
Fixed – loading shared libraries: libpangox-1.0.so.0: Anydesk on Ubuntu 22.04 | vetechno
By Vikash Ekka
Fixed – loading shared libraries: libpangox-1.0.so.0: Anydesk on Ubuntu 22.04 | vetechno |
When I successfully Installed latest Anydesk on my local Ubuntu 22.04 Jammy Jellyfish system. And tried to run the Anydesk application, it doesn’t launch/start. when I checked the status service, the anydesk service was failed. And got the below error message
Fixed – loading shared libraries: libpangox-1.0.so.0: Anydesk on Ubuntu 22.04 | vetechno |
Error is looks like
/usr/bin/anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory
anydesk.service: Failed with result ‘exit-code’.
libpangox-1.0.so.0 is a library used for text layout and rendering the text. Most of the work on Pango-1.0 was done using the GTK+ widget toolkit as a test platform.
Basically what I have done is just installed libpangox library which is used by Anydesk service to launch.
Anydesk error while loading shared libraries
I am a new user of Ubuntu (less than 24hrs in) and failed to install my first app on this OS. After some effort i have managed to install a 64bit OS on my Raspberry Pi 4 4GB using a Ubuntu Server 20.04 for Raspberry Pi image and installed lubuntu (sudo apt-get install lubuntu-desktop).
In the OS, Settings -> About
Processor: blank
Graphics: llvmpipe (LLVM 9.0.1, 128 bits)
Disk Capacity: Unknown
OS Name: Ubuntu 20.04 LTS
OS Type: 64-bit
Which i find confusing because i think it is an ARM processor but requires DEB install files right? So i head over to Anydesk but the Debian/Ubuntu/Mint (64bit)* file gives the error:
Error: Wrong architecture ‘amd64’
So i head to the Anydesk for Raspberry Pi download** this time but get the error:
Error: Wrong architecture ‘armhf’
I feel silly since there is something obvious i am missing. I just don’t know what. I will need to install many apps and I’m stuck at my first hurdle. Any help would be appreciated.
* https://anydesk.com/en/downloads/linux
(https://anydesk.com/en/downloads/linux)** https://anydesk.com/en/downloads/raspberry-pi
armhf arm hard-float is the name given to the Debian port for ARM 32-bit versions (someone please correct me if I am wrong).
At least this link (https://www.debian.org/ports/arm/) clearly mentions the same:
The newer ARM hard-float (https://wiki.debian.org/ArmHardFloatPort) (armhf) port supports newer, more powerful 32-bit devices using version 7 of the ARM architecture specification.
If this is true, you can try a 32-bit deb file and see if it installs.
I am not sure, but, should there be an ARM variant of the binary file?
I am not sure, but, should there be an ARM variant of the binary file?
Yes, it should and that’s the problem. ‘i384’ or ‘amd64’ packages cannot be installed in ARM devices.
Thanks bijayalaxmi1808 and CelticWarrior.
Yes, it should and that’s the problem. ‘i384’ or ‘amd64’ packages cannot be installed in ARM devices.
Yep, i found the i384 package for 32bit deb but that failed too. So if I’m reading this right, i need an arm64 package (64-bit ARM) for my 64bit quad-core ARM Cortex-A72 processor.
I can only find amd64, armhf, and i386.
Hmm. anyone know how to get the arm64 file?
Have you tried adding the armhf architecture to dpkg?
sudo dpkg —add-architecture armhf
Have you tried adding the armhf architecture to dpkg?
sudo dpkg —add-architecture armhf
Thanks deadflowr. So this is what i did:
wget -qO — https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add —
echo «deb http://deb.anydesk.com/ all main» > /etc/apt/sources.list.d/anydesk-stable.list
apt update
sudo dpkg —add-architecture armhf
apt install anydesk
Which seemed to go ok. Now it appears in my Show Applications (see pic) but nothing happens when i click on it. Did i break it? I am a Windows user after all 🙁
286108286109
Are you trying to install Anydesk on the raspberry PI 4? I am guessing that if you want the Raspberry Pi version of Anydesk on the Raspberry Pi then you would need to be running Raspbian OS on the Raspberry PI.
The Debian version of Anydesk might be meant for Debian and Debian based OS running on an AMD64 compatible CPU. Which excludes the Raspberry PI with its ARM CPU. The Ubuntu server for the Raspberry PI is modified to run on the ARM cortex CPU. That is why deb files such as Lubuntu desktop can be installed. I cannot say for sure but Ubuntu server for Raspberry PI may have its own set of Ubuntu repositories with deb files modified not to reject being installed on an ARM cortex CPU.
This might help to over come the problem. It is a PPA and it is uptodate for 20.04
Ok grahammechanical. Not sure what that means but i gave it a go:
sudo add-apt-repository ppa:rpi-distro/ppa
sudo apt-get update
It gave an error. Something about not having a Release file so its not safe and therefore disabled by default (see pic). I’m guessing that’s not good.
It feels like I’m forcing a red square block though a yellow circular hole while thinking: why doesn’t this work!
The ppa has no packages.
Probably best to disable it.
You can try running the application’s command to launch from a terminal
that should tell something about what’s happening.
For anydesk that is the command
anydesk
or if needed you can run the full file path name
Ok. I removed the ppa
sudo add-apt-repository —remove ppa:rpi-distro/ppa
then launched anydesk via terminal.
In both cases it said:
error while loading shared libraries: libpolkit-gobject-1.so.0: cannot open shared object file: No such file or directory
Try installing the libpolkit-gobject package
sudo apt-get install libpolkit-gobject-1-0
I did a search and found this:
https://stackoverflow.com/questions/59585500/ubuntu-on-raspberry-pi-4-anydesk-error-while-loading-shared-libraries-libpolk
apt-get install libpolkit-gobject-1.so.0
but got this for my trouble:
E: Unable to locate package libpolkit-gobject-1.so.0
E: Couldn’t find any package by glob ‘libpolkit-gobject-1.so.0’
E: Couldn’t find any package by regex ‘libpolkit-gobject-1.so.0’
I thought i was onto something there for a moment 🙁
Try installing the libpolkit-gobject package
sudo apt-get install libpolkit-gobject-1-0
Ok, tired this too and it said:
ibpolkit-gobject-1-0 is already the newest version (0.105-26ubuntu1).
Might be it needs the armhf version.
Try
sudo apt-get install libpolkit-gobject-1-0:armhf
Might be it needs the armhf version.
Try
sudo apt-get install libpolkit-gobject-1-0:armhf
Ok, this time it did something:
The following NEW packages will be installed:
libpolkit-gobject-1-0:armhf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
But still failed to open:
as it gave this new error:
anydesk: error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory
after reading these i tired this but it didn’t work.
sudo apt-get update
sudo apt-get install —reinstall libraspberrypi0 libraspberrypi-dev libraspberrypi-doc libraspberrypi-bin
and found my way to this page:
https://github.com/raspberrypi/firmware/releases
Since my Opt/vc folder is empty i tried to get Ark to extract the Opt/vc folder from the archive (firmware-1.20200601-arm64.tar.gz) but i don’t have sufficient permissions.
Yepp did everything above, but got this error:
anydesk: error while loading shared libraries: libpolkit-gobject-1.so.0: cannot open shared object file: No such file or directory
tried to check everywhere, even did necessary installs. Put files on desired locations, but same error everytime.
Files:
/usr/lib/aarch64-linux-gnu/libpolkit-gobject-1.so.0
/usr/lib/aarch64-linux-gnu/libpolkit-gobject-1.so.0.0.0
/usr/share/doc/libpolkit-gobject-1-0/changelog.Debian.gz
/usr/share/doc/libpolkit-gobject-1-0/copyright
Hello and welcome to the forum kabir18, please start your own thread instead of posting in someone else’s so you can get the individual help you need.