You are not logged in.

#1 Today 00:14:43

Infernal_pizza
Member
Registered: 2023-08-05
Posts: 12

[SOLVED] ldconfig segmentation fault

I had some issues earlier and now whenever I do anything in pacman I get "command terminated by signal 11: segmentation fault". Looking in the journal it seems to be caused by ldconfig. Running ldconfig on its own also produces a segmentation fault. Previously ldconfig -v was complaining about some corrupted .so files in /usr/lib, I have reinstalled the packages corresponding to these and those errors disappeared however I am still getting a segmentation fault. This is the output for ldconfig -v:

ldconfig: Path `/usr/lib64' given more than once
(from <builtin>:0 and <builtin>:0)
ldconfig: Can't stat /usr/libx32: No such file or directory
/usr/lib/libfakeroot: (from /usr/lib/ld.so.conf.d/fakeroot.conf:1)
    libfakeroot-0.so -> libfakeroot.so
/usr/lib: (from <builtin>:0)
[1]    4729 segmentation fault (core dumped)  ldconfig -v

I have also tried reinstalling glibc

Last edited by Infernal_pizza (Today 07:51:24)

Offline

#2 Today 06:50:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED] ldconfig segmentation fault

was complaining about some corrupted .so files in /usr/lib, I have reinstalled the packages corresponding to these and those errors disappeared

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup

Offline

#3 Today 07:50:12

Infernal_pizza
Member
Registered: 2023-08-05
Posts: 12

Re: [SOLVED] ldconfig segmentation fault

seth wrote:

was complaining about some corrupted .so files in /usr/lib, I have reinstalled the packages corresponding to these and those errors disappeared

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup

Thanks that's sorted it! Apparently qt6-webengine still had some corrupt files. Could you just explain what the LC_ALL=C part of that command is for?

Offline

#4 Today 08:06:03

256
Member
Registered: 2023-12-17
Posts: 94
Website

Re: [SOLVED] ldconfig segmentation fault

Infernal_pizza wrote:

Thanks that's sorted it! Apparently qt6-webengine still had some corrupt files. Could you just explain what the LC_ALL=C part of that command is for?

I'm not him, but I assume it's to prevent pacman from giving output in a different language, which would cause the grep invocation(s) to not work.


"Don't comment bad code - rewrite it." - The Elements of Programming Style (1978), Brian W. Kernighan & P. J. Plauger, p. 144.

Online

#5 Today 12:42:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED] ldconfig segmentation fault

Precisely smile
(idk your locale and also this is a text block tongue)

Offline

Board footer

Powered by FluxBB