You are not logged in.
The Perl on my system was updated to perl-5.38.0, and libperl.so is not present in the dynamic library cache. This breaks slapd.
Shouldn't pacman automatically install any installed dynamic libraries into the cache?
Offline
$ /usr/bin/slapd -V
@(#) $OpenLDAP: slapd 2.6.6 (Jul 31 2023 22:02:38) $
openldap
$ lddtree /usr/bin/slapd
/usr/bin/slapd (interpreter => /lib64/ld-linux-x86-64.so.2)
libldap.so.2 => /usr/lib/libldap.so.2
libssl.so.3 => /usr/lib/libssl.so.3
libcrypto.so.3 => /usr/lib/libcrypto.so.3
liblber.so.2 => /usr/lib/liblber.so.2
libltdl.so.7 => /usr/lib/libltdl.so.7
libperl.so => /usr/lib/perl5/5.38/core_perl/CORE/libperl.so
libm.so.6 => /usr/lib/libm.so.6
libodbc.so.2 => /usr/lib/libodbc.so.2
libsystemd.so.0 => /usr/lib/libsystemd.so.0
libcap.so.2 => /usr/lib/libcap.so.2
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
liblz4.so.1 => /usr/lib/liblz4.so.1
liblzma.so.5 => /usr/lib/liblzma.so.5
libzstd.so.1 => /usr/lib/libzstd.so.1
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
libsasl2.so.3 => /usr/lib/libsasl2.so.3
libuuid.so.1 => /usr/lib/libuuid.so.1
libcrypt.so.2 => /usr/lib/libcrypt.so.2
libc.so.6 => /usr/lib/libc.so.6
Offline
The main question I was asking was:
Shouldn't pacman automatically install any installed dynamic libraries into the cache?
Offline
The openldap package was purposely rebuilt against perl 5.38 three weeks ago: https://gitlab.archlinux.org/archlinux/ … e20905eb41
It has since been updated to v2.6.6: https://gitlab.archlinux.org/archlinux/ … aa58a0668c
Smells like you're running partial updates.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The main question I was asking was:
Shouldn't pacman automatically install any installed dynamic libraries into the cache?
How is that relevant when it is not in the dynamic linkers search path and all supplied binaries such as slapd from the openldap package have RUNPATH set accordingly?
Last edited by loqs (2023-08-15 21:48:38)
Offline
Smells like you're running partial updates.
No, I am not running partial updates, I always do pacman -Syu.
I will investigate further. Thank you.
Offline
Please provide the output of the following (lddtree needs pax-utils)
$ type -a slapd
$ lddtree /usr/bin/slapd
$ pacman -Qikk openldap perl
Plus whatever command you use that invokes slapd and its full output.
Last edited by loqs (2023-08-15 21:51:29)
Offline
I have identified the problem. It is a build issue. Thank you for your help.
Offline
Have same issue but with vi
vi: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
Error did show after upgrade perl from 5.36 to 5.38
* my vi is vim , so after i removed vim and reinstall i got error
vim: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by vim)
then i did reinstall glibc (and lib32-glibc) and it works now.
Last edited by ivanbogomolov (2023-09-05 14:01:44)
archlinux on dell latitude 3460 (intel-i5 16gb ddr3 1000gb ssd)
archlinux on dell g15 5510 (intel-i7 16gb ddr4 1000gb ssd nvidia geforce rtx 3050 Ti 4096 Mb)
Offline
Have same issue but with vi
vi: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
Error did show after upgrade perl from 5.36 to 5.38
* my vi is vim , so after i removed vim and reinstall i got errorvim: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by vim)
then i did reinstall glibc (and lib32-glibc) and it works now.
This all adds up to you doing partial updates. Stop! Update the system fully and you won't have these problems.
Offline
This all adds up to you doing partial updates. Stop! Update the system fully and you won't have these problems.
Yes. So I did full update ( pacman -Syu ) after these problems and it works perfectly now.
archlinux on dell latitude 3460 (intel-i5 16gb ddr3 1000gb ssd)
archlinux on dell g15 5510 (intel-i7 16gb ddr4 1000gb ssd nvidia geforce rtx 3050 Ti 4096 Mb)
Offline