Monday, May 6, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3421  / 3 Years ago, thu, august 26, 2021, 5:47:28

Through VirtualBox for many Virtual Machines for Ubuntu Server - for each one an upgrade was done from 20.04 to 22.04. The apt update and apt upgrade commands work fine. But just few days ago I did realize that if I execute the following command to all the Virtual Machines:


VBoxClient --version

arises the following error message


VBoxClient: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory

was reinstalled VirtualBox Guest Additions and the situation remains.


Question



  • How fix this situation?


Extra Question



  • Why this situation appeared? Is due the OS' upgrade?


UPDATE


In the post:



is indicated as solution execute the command


sudo apt install libxt6:i386

It shows


E: Unable to locate package libxt6:i386

Thus was executed


sudo apt install libxt6

And was installed.


But sadly even if the VM is restarted, the error remains


More From » package-management

 Answers
6

On a fresh Debian 11, running in VirtualBox 7, I got just the same behaviour:


$ VBoxClient --version
VBoxClient: error while loading shared libraries: libXt.so.6: cannot open shared object file

...after initially installing only the following packages:


apt-get install dkms linux-headers-$(uname -r) build-essential

Turns out I had to also install the following:


apt-get install libxt6 libxmu6

...and now I'm getting, without reboot:


$ VBoxClient --version
7.0.2r154219

[#200] Friday, August 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terose

Total Points: 185
Total Questions: 125
Total Answers: 131

Location: Venezuela
Member since Mon, Dec 13, 2021
2 Years ago
;