[ISSUE | SOLVED ] Centos 7 | undefined symbol: g_type_check_instance_is_fundamentally_a


Operating System : Centos 7 (on openwatt) [no UI]

Firefox : v 45.4


After installing firefox on centos7(without GUI), if our vm is on openwatt launching firefox simply like "firefox www.google.com" gives error that there is no display attached. The same thing works if you have a vm setup on your local using vmware or virtualbox, because, it uses your system's display.

For that we can use virtual video driver, Xvfb.

Though, after installing firefox, I was seeing this error due to some outdated dependencies.

11:42:42 + xvfb-run -n 2 '--server-args=-screen 0, 1920x1080x24' firefox www.google.com
11:42:45 Xlib:  extension "RANDR" missing on display ":2".
11:42:45 /usr/lib64/firefox/firefox: symbol lookup error: /lib64/libgtk-x11-2.0.so.0: undefined symbol: g_type_check_instance_is_fundamentally_a


In my case, one of the libraries were not updated. So I updated glib2 and it started working for me.

sudo yum update --enablerepo=base glib2

No comments :

Post a Comment