What does this error mean?
Updating : gtk2
35/178 g_module_open() failed for /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/local/lib/libpng12.so.0: undefined symbol: inflateReset /usr/bin/gtk-query-immodules-2.0-64: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libcairo.so.2)
Do I really need gtk2 running on a server anyway?
At Fri, 18 Jan 2013 14:55:15 -0600 CentOS mailing list centos@centos.org wrote:
What does this error mean?
Updating : gtk2
35/178
g_module_open() failed for /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/local/lib/libpng12.so.0: undefined symbol: inflateReset /usr/bin/gtk-query-immodules-2.0-64: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libcairo.so.2)
Do I really need gtk2 running on a server anyway?
Only if:
1) runlevel is 5 (for the GUI login) or you log into the console and then use startx or xinit to fire up the X Server. 2) you run GTK2 programs via SSH X-Server Tunneling -- you don't need it for old-school xterms (eg xterm-215-8.el5_4.1), but you do need it for gnome-terminals (eg gnome-terminal-2.16.0-5.3.el5_6.1).
A server *should* be set to use a non-graphical bootup (leave off the rhgb kernel param) and login (runlevel == 3). It is always possible to do something like 'ssh -X/Y server /usr/bin/xterm' to launch a xterm or other X11 application. See also programs like nx(server) and vncserver/vncviewer, which are other ways to have a GUI on an otherwise headless [server] system. But if all you ever do is use slogin to the server, then no, none of the xorg or gtk/gnome or KDE/Qt packages need (or should) be installed (ie deselect '<mumble>-desktop', 'graphical-internet', etc. groups during install).
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 2013-01-18, Robert Heller heller@deepsoft.com wrote:
At Fri, 18 Jan 2013 14:55:15 -0600 CentOS mailing list centos@centos.org wrote:
(...)
Do I really need gtk2 running on a server anyway?
Only if:
- runlevel is 5 (for the GUI login) or you log into the console and then use startx or xinit to fire up the X Server.
- you run GTK2 programs via SSH X-Server Tunneling -- you don't need it for old-school xterms (eg xterm-215-8.el5_4.1), but you do need it for gnome-terminals (eg gnome-terminal-2.16.0-5.3.el5_6.1).
(...)
I would add:
3) Another package requires it. The cups package, for example, requires gtk2 and other X-related stuff. So if you want to run a headless print server, gtk2 has to be installed.
On 01/18/2013 03:56 PM, Robert Heller wrote:
At Fri, 18 Jan 2013 14:55:15 -0600 CentOS mailing list centos@centos.org wrote:
What does this error mean?
Updating : gtk2
35/178
g_module_open() failed for /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/local/lib/libpng12.so.0: undefined symbol: inflateReset /usr/bin/gtk-query-immodules-2.0-64: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libcairo.so.2)
Do I really need gtk2 running on a server anyway?
Only if:
- runlevel is 5 (for the GUI login) or you log into the console and then use startx or xinit to fire up the X Server.
- you run GTK2 programs via SSH X-Server Tunneling -- you don't need it for old-school xterms (eg xterm-215-8.el5_4.1), but you do need it for gnome-terminals (eg gnome-terminal-2.16.0-5.3.el5_6.1).
A server *should* be set to use a non-graphical bootup (leave off the rhgb kernel param) and login (runlevel == 3). It is always possible to do something like 'ssh -X/Y server /usr/bin/xterm' to launch a xterm or other X11 application. See also programs like nx(server) and vncserver/vncviewer, which are other ways to have a GUI on an otherwise headless [server] system. But if all you ever do is use slogin to the server, then no, none of the xorg or gtk/gnome or KDE/Qt packages need (or should) be installed (ie deselect '<mumble>-desktop', 'graphical-internet', etc. groups during install).
The library in issue:
/usr/local/lib/libpng12.so.0
Did not come from CentOS ... BUT ... it is meeting CentOS requirements now that it is installed.
What does this say:
rpm -q --whatprovides /usr/local/lib/libpng12.so.0
The first question you need to answer is why you have something providing a major requirement like that in /usr/local/lib/
Then you need to decide if you want that item.