FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-15-2008, 04:54 PM
Craig White
 
Default library strangeness

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@srv-adv icons]# rpm -q --whatprovides /usr/lib/libxml2.so
libxml2-devel-2.6.26-2.1.2.6
[root@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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-17-2008, 02:51 PM
"Filipe Brandenburger"
 
Default library strangeness

Hi,

On Sat, Nov 15, 2008 at 12:54, Craig White <craigwhite@azapple.com> wrote:
> # 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

The libstdc++.so.6 is dated October 23rd, less than one month ago and
newer than libstdc++.so.6.0.8. It seems like it was replaced after the
RPM was installed.

> # 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

You can check the date the RPM was installed with 'rpm -qi
libstdc++-4.1.2-42.el5'.

You can also use 'rpm --verify libstdc++-4.1.2-42.el5' to check if the
files match the RPM database, I suspect 'rpm --verify ...' will tell
you that libstdc++.so.6 does not match the version that was installed
with the RPM.

> 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?

Makes sense to me.

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

Same date on the offending file. Do you have any idea of what did you
install that day?

> Is this a CentOS packaging issue ?

Probably not, it's probably something that was installed from source
and not from RPM.

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 10:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org