When trying to run the printer utility I downloaded from Epson website I get the following error:
epson-printer-utility: error while loading shared libraries: libQtCore.so.4: cannot open shared object file: No such file or directory
I presume this is because the QT4 libraries aren't installed on Ubuntu 20.04 LTS. And it seems no longer available to install.
I have googled and tried installing various QT4 libraries by various means without success. For example:
$ sudo apt-get install qt4-default
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package qt4-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'qt4-default' has no installation candidate
Help please.
I'm new to linux so be kind and very specific with what I need to do!
Best Answer
Ubuntu 20.04 LTS no longer has Qt4 libraries on purpose. See this question, for instance. Your best bet is compiling from source, or setting up a virtual machine with an older Ubuntu version as the guest OS.
Or, if you're feeling adventurous, you can add this PPA, then install Qt4:
This removes
qt5-default
from your system. Let's add it back:Now you have both Qt4 and Qt5 libraries installed in your system in a fragile balance. The Qt4 libraries will be removed the next time you run
sudo apt autoremove
to clean up installed packages. Let's prevent that from happening: