LibQTGui.so.4 can’t install from qt-x11

Latest response

Problem: When I run a program, I get the following: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory. So I figured out I need to install qt-x11. But installing qt-x11 via yum runs into problems (see below for screen shots). Yum suggests adding “—skip-broken” or trying rpm, both don’t install it. My guess is yum sees newer versions of libmng.so.1 and doesn’t know how to handle that.

Background:: I am running RH 7.9 on an isolated machine. No internet connection or local network connection. The RPM repository is local and from the RH 7.9 install ISO disk. The ISO was created on 9/2/21.

What I see on my screen:
[root@localhost ~]# yum install qt-x11
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
Resolving Dependencies
--> Running transaction check
---> Package qt-x11.x86_64 1:4.8.7-8.el7 will be installed
--> Processing Dependency: libmng.so.1()(64bit) for package: 1:qt-x11-4.8.7-8.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:qt-x11-4.8.7-8.el7.x86_64 (local)
Requires: libmng.so.1()(64bit)
Available: libmng-1.0.10-14.el7.x86_64 (local)
libmng.so.1()(64bit)
Installed: libmng-2.0.3-7.el8.x86_64 (@/libmng-2.0.3-7.el8.x86_64)
~libmng.so.2()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles –nodigest

Then I tired using –skip-broken
[root@localhost ~]# yum install qt-x11 --skip-broken
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
Resolving Dependencies
--> Running transaction check
---> Package qt-x11.x86_64 1:4.8.7-8.el7 will be installed
--> Processing Dependency: libmng.so.1()(64bit) for package: 1:qt-x11-4.8.7-8.el7.x86_64

Packages skipped because of dependency problems:
1:qt-x11-4.8.7-8.el7.x86_64 from local
[root@localhost ~]#

Any ideas? Thank you in advance!

Responses