ldconfig forgotten

Elan Ruusamäe glen at pld-linux.org
Tue May 31 08:45:43 CEST 2016


again rpm forgot to run ldconfig

the "fix" is to add as "Requires" it, right?

altho the deps is already specified manually
https://github.com/pld-linux/procps/blob/auto/th/procps-3.3.11-1/procps.spec#L43

and should be even autogenerated:
https://github.com/pld-linux/procps/blob/auto/th/procps-3.3.11-1/procps.spec#L206-L207


[root at 57c8cccdc671 bin]# poldek -u procps
Loading [pndir]th...
Loading [pndir]th...
25794 packages read
Processing dependencies...
procps-3.3.11-1.x86_64 marks systemd-libs-221-13.x86_64 (cap 
libsystemd.so.0()(64bit))
  systemd-libs-221-13.x86_64 marks libgcrypt-1.7.0-1.x86_64 (cap 
libgcrypt >= 1.4.5)
   libgcrypt-1.7.0-1.x86_64 marks libgpg-error-1.22-1.x86_64 (cap 
libgpg-error >= 1.13)
  systemd-libs-221-13.x86_64 marks lz4-libs-r131-4.x86_64 (cap 
liblz4.so.1()(64bit))
There are 5 packages to install (4 marked by dependencies):
I procps-3.3.11-1.x86_64
D libgcrypt-1.7.0-1.x86_64  libgpg-error-1.22-1.x86_64 
lz4-libs-r131-4.x86_64  systemd-libs-221-13.x86_64
This operation will use 4.2MB of disk space.
Need to get 1.4MB of archives (1.4MB to download).

Retrieving [1/5] th::libgpg-error-1.22-1.x86_64.rpm...
.............................. 100.0% [123.9K (123.9K/s)]
Retrieving [2/5] th::libgcrypt-1.7.0-1.x86_64.rpm...
.............................. 100.0% [460.3K (66.5K/s)]
Retrieving [3/5] th::lz4-libs-r131-4.x86_64.rpm...
.............................. 100.0% [38.7K (38.7K/s)]
Retrieving [4/5] th::systemd-libs-221-13.x86_64.rpm...
.............................. 100.0% [322.9K (322.9K/s)]
Retrieving [5/5] th::procps-3.3.11-1.x86_64.rpm...
.............................. 100.0% [444.0K (150.8K/s)]
Executing pm-command.sh --upgrade -vh --root / --define 
_check_dirname_deps 1...
Preparing... ########################################### [100%]
    1:lz4-libs ########################################### [ 20%]
    2:libgpg-error ########################################### [ 40%]
    3:libgcrypt ########################################### [ 60%]
    4:systemd-libs ########################################### [ 80%]
    5:procps ########################################### [100%]
[root at 57c8cccdc671 bin]# ps axwuf
ps: error while loading shared libraries: libprocps.so.5: cannot open 
shared object file: No such file or directory
[root at 57c8cccdc671 bin]# ldconfig
[root at 57c8cccdc671 bin]# ps axwuf
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  14052  3184 ?        Ss   06:31   0:00 bash
root        56  0.0  0.0  23504  2520 ?        R+   06:40   0:00 ps axwuf
[root at 57c8cccdc671 bin]# rpm -q procps --scripts|grep ldconfig
postinstall program: /sbin/ldconfig
postuninstall program: /sbin/ldconfig
[root at 57c8cccdc671 bin]#
[root at 57c8cccdc671 bin]# rpm -q procps --requires|grep ldconfig
/sbin/ldconfig
/sbin/ldconfig
/sbin/ldconfig
[root at 57c8cccdc671 bin]#



-- 
glen



More information about the pld-devel-en mailing list