Can't get rustdesk-bin to run

Getting this error when starting it:

[demo@Manjaro ~]$ rustdesk
Failed to load "librustdesk.so"
libxdo.so.3: cannot open shared object file: No such file or directory
Please run "pacman -Qo libxdo.so.3" to search and install the pkg.
[demo@Manjaro ~]$ pacman -Qo libxdo.so.3
error: No package owns libxdo.so.3

Hi @MAYBL8,

I had to jump thorough a couple of hoop, but I found out that:

$ pacman -Qo /usr/lib/libxdo.so.3                                                                                                                                                                                        1 ↵
/usr/lib/libxdo.so.3 is owned by xdotool 3.20211022.1-2

So install xdotool:

pamac install xdotool

Note:
I suspect this will only work on Wayland if have XWayland as xdotool is for Xorg.

Hope this helps!

[demo@Manjaro ~]$ sudo pamac install xdotool
[sudo] password for demo:
Preparing...
Warning: xdotool-4.20251130.1-1 is up to date -- skipping
Nothing to do.
Transaction successfully finished.

This is in xdotool as sudo pacman -Fyx libxdo.so.3 would have told you.

That said, if you have problems with the aur version, there is also a flatpak

flatpak install flathub com.rustdesk.RustDesk

or an appimage: https://github.com/rustdesk/rustdesk/releases/download/1.4.5/rustdesk-1.4.5-x86_64.AppImage
Mirdarthos has right xdotool is for X. As i am still on X11 i have not tested Rustdesk on wayland, but maybe the flatpak is build differently. :man_shrugging:

I am not a fan of flatpaks or appimages but I need this to work today so I installed the flatpak and that worked so I will accept that as a solution for now.

You shouldn’t use sudo with pamac.

In that case, it might actually looking for

…but telling you to search for and install something else, which can be misleading.

And I just installed rustdesk to test, and launched quite well. So I’d say rebuilt it:

pamac build rustdesk-bin
1 Like

Thanks for trying to help I do appreciate it.
I tried the rebuild but that didn’t work either. I got the same error.
Must be something weird with my system.
I’ll just use the flatpak for what I have to do today and come back to this later.

Maybe the aur recipe builder has not updated yet and after some time he will and it will work again. That is the risk with aur. You never know if it will be held uptodate.

The rustdesk-bin package is a precompiled binary (hence the -bin suffix), there’s nothing to build. It was linked against libxdo.so.3. The rustdesk package builds from source, so it would link against the current libxdo.so.4 during build.

3 Likes

I “solved” it with a symlink, sudo ln -s /usr/lib64/libxdo.so.4 /usr/lib64/libxdo.so.3

Could that cause an issue when an update to Rustdesk happens?

I wouldn’t be surprised, hence the “” around solved, but I guess I’ll just remove the symlink.

That is NOT a solution. NEVER symlink incompatible libraries. They’re versioned for a reason.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.