Firefox Installation fails with error GTK2


I have performed a fresh firefox(60.6.1-1.el7_6) installation for RHEL 7.5 after minimal OS installation. Installation fails with these errors:

“gtk-query-immodules-2.0-64: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
warning: %post(gtk2-2.24.31-1.el7.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package gtk2-2.24.31-1.el7.x86_64
Verifying : gtk2-2.24.31-1.el7.x86_64 “

If you got same error  like me  you can check this steps if  it will fix your problem to.

Check if binaries installed  properly

[root@casesup ~]# rpm -q `rpm -qf /usr/lib64/libpango-1.0.so.0`
pango-1.42.4-1.el7.x86_64
[root@casesup ~]# readelf -s /usr/lib64/libpango-1.0.so.0 | grep g_log
169: 0000000000000000 0 FUNC GLOBAL DEFAULT UND g_log_structured_standard
[root@eagleucm01 ~]#

It shows that problem is not related to the pango packages. So you should  now check  other packages to. If you couldn’t find “g_log_structured_standard” function in pango library try to reinstall pango package with  “yum reinstall pango”

Update and reinstall  GTK2 and  GLIB2

I highly recommed to reinstall  GTK2 and  update  GLIB2 package by these command sets.

#yum -y update glib2

#yum -y reinstall gtk2.x86_64

#firefox

 

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me