[CentOS] library strangeness

Sat Nov 15 17:54:33 UTC 2008
Craig White <craigwhite at azapple.com>

while doing a yum update today, I noticed a few errors being reported
that seemed strange to me...

/sbin/ldconfig: /usr/lib/libxml2.so.2 is not a symbolic link
/sbin/ldconfig: /usr/lib/libstdc++.so.6 is not a symbolic link

# ls -l /usr/lib/libstdc++.so.*
lrwxrwxrwx 1 root root     18 Oct 13 18:38 /usr/lib/libstdc++.so.5 ->
libstdc++.so.5.0.7
-rwxr-xr-x 1 root root 733168 Jan  8  2007 /usr/lib/libstdc++.so.5.0.7
-rwxr-xr-x 1 root root 804212 Oct 23 10:09 /usr/lib/libstdc++.so.6
-rwxr-xr-x 1 root root 936908 May 26 15:16 /usr/lib/libstdc++.so.6.0.8

# rpm -q --whatprovides /usr/lib/libstdc++.so.6
libstdc++-4.1.2-42.el5
# rpm -q --whatprovides /usr/lib/libstdc++.so.6.0.8
libstdc++-4.1.2-42.el5

# ls -l /usr/lib/libxml2.*
-rw-r--r-- 1 root root 1533932 Sep 15 17:59 /usr/lib/libxml2.a
lrwxrwxrwx 1 root root      17 Oct 13 16:50 /usr/lib/libxml2.so ->
libxml2.so.2.6.26
-rwxr-xr-x 1 root root 1250176 Oct 23 10:09 /usr/lib/libxml2.so.2
-rwxr-xr-x 1 root root 1250176 Sep 15 17:59 /usr/lib/libxml2.so.2.6.26

[root at srv-adv icons]# rpm -q --whatprovides /usr/lib/libxml2.so
libxml2-devel-2.6.26-2.1.2.6
[root at srv-adv icons]# rpm -q --whatprovides /usr/lib/libxml2.so.2.6.26
libxml2-2.6.26-2.1.2.6

so my inclination is to remove the /usr/lib/libstdc++.so.6 and create a
symlink to libstdc++.so.6.26 to replace it. Does this make sense?

What about the libxml2.so which apparently is there because of the devel
package?

Is this a CentOS packaging issue ?

Craig