[CentOS] Updating gtk2

Sat Jan 19 14:51:49 UTC 2013
Johnny Hughes <johnny at centos.org>

On 01/18/2013 03:56 PM, Robert Heller wrote:
> At Fri, 18 Jan 2013 14:55:15 -0600 CentOS mailing list <centos at 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).

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.







-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20130119/ef7ff01e/attachment-0004.sig>