[Linux-PowerEdge] dell-system-update yum install causes libraries to change

scott.j.kingston at verizon.com scott.j.kingston at verizon.com
Thu Feb 16 15:35:09 CST 2017


Here is the before:

$ readelf -d /usr/lib64/libopenblas-r0.2.18.so |grep SONAME
 0x000000000000000e (SONAME)             Library soname: [libopenblas.so.0]
$
Here is the after:
$ sudo /sbin/ldconfig
$
$ readelf -d /usr/lib64/libblas.so.3.4.2

Dynamic section at offset 0x57de8 contains 27 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgfortran.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libblas.so.3]
 0x000000000000000c (INIT)               0x2148
 0x000000000000000d (FINI)               0x54954
 0x0000000000000019 (INIT_ARRAY)         0x257dc8
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x257dd0
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x1f0
 0x0000000000000005 (STRTAB)             0x1750
 0x0000000000000006 (SYMTAB)             0x700
 0x000000000000000a (STRSZ)              1470 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x258000
 0x0000000000000002 (PLTRELSZ)           408 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x1fb0
 0x0000000000000007 (RELA)               0x1ef0
 0x0000000000000008 (RELASZ)             192 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x1e70
 0x000000006fffffff (VERNEEDNUM)         3
 0x000000006ffffff0 (VERSYM)             0x1d0e
 0x000000006ffffff9 (RELACOUNT)          3
 0x0000000000000000 (NULL)               0x0

Here is the reset:
$ sudo su
# cd /usr/lib64
# unlink libblas.so.3
# ln -s libopenblas-r0.2.18.so libblas.so.3



-----Original Message-----
From: Charles.Rose at dell.com [mailto:Charles.Rose at dell.com] 
Sent: Thursday, February 16, 2017 4:11 PM
To: Kingston, Scott J <scott.j.kingston at one.verizon.com>; linux-poweredge at lists.us.dell.com
Subject: [E] Re: [Linux-PowerEdge] dell-system-update yum install causes libraries to change

On 02/16/17 14:32, scott.j.kingston at verizon.com wrote:
> On Dell PowerEdge R730XD servers running CentOS 7.2 when the new 
> version of dell-system-update (Ver 1.3.1) was installed, using yum, a 
> library symbolic link for openblas got changed and caused issues on an 
> application running on our servers.
>
>
>
> The link that specifically got changed is located in /usr/lib64 and 
> appears as
>
> lrwxrwxrwx   1 root root   33 Jan 13 20:24 libblas.so.3 ->
> /usr/lib64/libopenblas-r0.2.18.so

Scott

Can you run this and share its output?
   readelf -d /usr/lib64/libopenblas-r0.2.18.so |grep SONAME

>
>
>
> After DSU is installed using yum, the link is changed to: lrwxrwxrwx   1
> root root   16 Feb 14 21:34 libblas.so.3 -> libblas.so.3.4.2
>

Can you run this and share its output?
   readelf -d /usr/lib64/libblas.so.3.4.2 |grep SONAME

>
>
> We believe the root cause to be a command that is part of the post 
> install that is embedded in the rpm.  The last command run is
> /sbin/ldconfig   This command is causing the library link to change.
>
>
>
> Examining the post installation of the dell-system-update rpm it was
> noted that the last command run is /sbin/ldconfig   As a test we reset
> the link to the libopenblas-r0.2.18.so and ran the /sbin/ldconfig as a 
> standalone command.  The result was that the link was changed again to 
> point to libblas.so.3.4.2
>
>
>
> Has anyone run into this, or does anyone have a resolution to the 
> library being changed?
>
>
>
> Thanks for your replies,
>
> S.
>
>
>
>
>
>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>


--
Thanks,
Charles Rose
Engineer, Infrastructure Software Engineering Dell EMC| Infrastructure Solutions Group office +1 512 723 6927 charles.rose at dell.com



More information about the Linux-PowerEdge mailing list