Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!

  • Done
  • quality assurance status badge
Details
2 participants
  • Dr. Arne Babenhauserheide
  • Ludovic Courtès
Owner
unassigned
Submitted by
Dr. Arne Babenhauserheide
Severity
normal
D
D
Dr. Arne Babenhauserheide wrote on 18 Jan 2022 12:49
(address . bug-guix@gnu.org)
878rvd9lta.fsf@web.de
Hi,

when I call guix, I get the error

Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37:
_dl_call_libc_early_init: Assertion `sym != NULL' failed!

`which guix` gives

/home/USER/.config/guix/current/bin/guix

I have the workaround to install guix for the user with

/var/guix/profiles/system-388-link/profile/bin/guix install guix # and all further packages it needed to build

and now `which guix` gives

/home/USER/.guix-profile/bin/guix

and guix works, but that does not look like a good solution.

Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmHmylIQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD60eFD/9b9qMzMkA434vaK1Sh7tP7KRl2LNNGGCbP
ZTE3SkCjCMhKw6R1zPCoe7RXBs1u7h6VIJGxlEgN0cDWRtKs9oh+pvmh0heqVLAI
SHf5mg7ePWDrpIZnta5+IhkNYLFeNnf2ZsKJZO0DUK3j7kd/WxaT23tCIjjuj8kb
ve1pzT4LH79/k9pf8Ir81s/kRznh3VmbYA5TZcALUurG2dVy9uCLP3LxeAUtPY/D
LSMNVb+RY6XxThSDAfv8wbRRUByXtfKZQuow27v0lm1LdKm1S0u94hej7p/PrVDb
eIlsx7TEE12acj6NOPdXJ/vjHXYfc7E412NTSE8ccANLRuKWbqw9/4tESNCjGDHD
ZWiXPOQsFYTajdjVmHEA0zjEgfJWHbd/DSfqWpJ5n6XbwZ9aqjMtN+3EhX2trrFZ
OnqoxkXlWXKQXfUgHgJQnd7twhXrWhvUfzmJ/cN/G6n/cL5Ef3ZuU26VGjQ5F/xn
iNU+unxw/bsTRLzpX/ohZtYIVBSuDzWrRtCMv7+MYwaRm0f/QwRQc45ccrUrvWeq
3u6DYCbSjG/qXuerL/HRtY28qJOV4WQmeIXuJVjX9GOu2/qZ1Caz3U+7yh6HvtoF
G4pf9d8e0bBKWy7vY9p8GTbp/CpzkenBbl14XwccFTnFR6hOung5yJEsGnLbfj6h
/c234ipTD4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmHmylQQHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSH14A/9szuK7nhoqFqp18wVkXqupCJK4
yAk9GRGFQyjPWPmSS8xwbP2huDr1jQubLa50c/cDpsocOOCyKqacusTF4IerbYOR
JPnodzK3FmzP+iwN67bG4cUOURGchLyaGkTwfRqc1sXi+ONjgdMxNRJdO2DtAekp
pmrJvJ0fExLOO1Ef2w==
=GBOU
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 18 Jan 2022 18:52
(name . Dr. Arne Babenhauserheide)(address . arne_bab@web.de)(address . 53344@debbugs.gnu.org)
8735lldj91.fsf@gnu.org
Hi,

"Dr. Arne Babenhauserheide" <arne_bab@web.de> skribis:

Toggle quote (9 lines)
> when I call guix, I get the error
>
> Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37:
> _dl_call_libc_early_init: Assertion `sym != NULL' failed!
>
> `which guix` gives
>
> /home/USER/.config/guix/current/bin/guix

When did it start happening?

What does ‘uname -om’ return?

Is LD_LIBRARY_PATH set?

Could you share ~/.config/guix/current/manifest ?

Thanks in advance!

Ludo’.
D
D
Dr. Arne Babenhauserheide wrote on 19 Jan 2022 01:20
(name . Ludovic Courtès)(address . ludo@gnu.org)
87sftkind1.fsf@web.de
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (13 lines)
> "Dr. Arne Babenhauserheide" <arne_bab@web.de> skribis:
>
>> when I call guix, I get the error
>>
>> Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37:
>> _dl_call_libc_early_init: Assertion `sym != NULL' failed!
>>
>> `which guix` gives
>>
>> /home/USER/.config/guix/current/bin/guix
>
> When did it start happening?

It started happening a few weeks ago.

I found the cause now, though: I had

LD_LIBRARY_PATH=$HOME/.guix-profile/lib:$LD_LIBRARY_PATH

in my .profile, because that was once needed to get some non-guix-builds
working. Removing that and updating the core system (guix system
reconfigure …) and rebooting resolved the issue.

I still have some breakage left, though: On starting icecat, I see
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/qw4dm41ik5krj0s2af9fbcccjga2bfg8-gvfs-1.48.1/lib/gvfs/libgvfscommon.so)
Failed to load module: /run/current-system/profile/lib/gio/modules/libgioremote-volume-monitor.so
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: version `GLIBC_2.33' not found (required by /run/current-system/profile/lib/gio/modules/libgvfsdbus.so)
Failed to load module: /run/current-system/profile/lib/gio/modules/libgvfsdbus.so
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/lxcz3h4klzg041f6rhi9lfyfqba3zizy-libproxy-0.4.17/lib/libproxy.so.1)
Failed to load module: /run/current-system/profile/lib/gio/modules/libgiolibproxy.so


Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmHnWjsQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD6+QDD/99PBcQa9jwgQpkvwoGAwi/mlISgX6eeZ13
UofEs3bh3igiwY6A7fqsKT+zgJgdoyjX5pZRJEBXo/AXIIBi+KM8IQXbQV2yYeQY
EyOLc5AxpFT90VJScZrngrgzTEhJbLdH4vkB1k3ftGN4QIq4ybt1B6gbQNmMNNte
FhrpObRRpS4+QeLRC161Jub8ieHhc+b2onM30frL1M/tpUA6hNJ2AaEGm8wkvt+P
LMurg/DapgKblP0U4ixbSMUcpVmhH0g2jiN8JL967tbVdAv8POWrRhKwoJ4Wj7nI
EW/4bKtDI1KcSzl/mCzHKN60dDgw0W85yjiymINABBV3Hf4a0meNVesHBjaP4NuD
Nrv2zKsu9eDkSOv4UDmrZCUKYq7rSRKxVcjbrQnPcJFwd3DKNRrrcvJytq3PEVZ7
6Ry3A05r6B9vCoLqlo8aYMel2eAWKn7VXCsBnwCYiISiqf0nBtfuu/+8sPKt5M56
sY4qphAoBDTKyud7/jBZ3KsBRIxdN+RGHM+6uLpyQxMmmshH9qtYtGT4+ow8NU9W
m+X7Phy1Haf2Eq5ShkfdbGTZRw+iDelhH5qj1p8USF/JmOONk7USB8Z7GKBv8B46
ow1x0ql8nOxQSn9wj+1BSXFaWjWSiM3d5o/Pcp57gk/uH6w78cWCwmPetAfjPeMV
nAR3HtzzeIjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmHnWj0QHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSBjQBACT20WD5XIbiP2adrj1uk+sJ9Uh
WMIwK4vCSkub27y7VapHut6p+/iSUiPq1Emg+jnUuxAJApax1T53KL0RzcrPA670
scndmg7iV7H134zx9VhOlHOPhwoI4LkC1cY5P56TVVsB2hYsmATN1yIHg/HzKswK
2i85umwYNInw/pkeXQ==
=Ukb/
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 19 Jan 2022 11:31
(name . Dr. Arne Babenhauserheide)(address . arne_bab@web.de)(address . 53344@debbugs.gnu.org)
87tue0auf7.fsf@gnu.org
Hi,

"Dr. Arne Babenhauserheide" <arne_bab@web.de> skribis:

Toggle quote (25 lines)
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> "Dr. Arne Babenhauserheide" <arne_bab@web.de> skribis:
>>
>>> when I call guix, I get the error
>>>
>>> Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37:
>>> _dl_call_libc_early_init: Assertion `sym != NULL' failed!
>>>
>>> `which guix` gives
>>>
>>> /home/USER/.config/guix/current/bin/guix
>>
>> When did it start happening?
>
> It started happening a few weeks ago.
>
> I found the cause now, though: I had
>
> LD_LIBRARY_PATH=$HOME/.guix-profile/lib:$LD_LIBRARY_PATH
>
> in my .profile, because that was once needed to get some non-guix-builds
> working. Removing that and updating the core system (guix system
> reconfigure …) and rebooting resolved the issue.

OK (though I wouldn’t expect it to cause an assertion failure in ld.so).

Toggle quote (8 lines)
> I still have some breakage left, though: On starting icecat, I see
> /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/qw4dm41ik5krj0s2af9fbcccjga2bfg8-gvfs-1.48.1/lib/gvfs/libgvfscommon.so)
> Failed to load module: /run/current-system/profile/lib/gio/modules/libgioremote-volume-monitor.so
> /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: version `GLIBC_2.33' not found (required by /run/current-system/profile/lib/gio/modules/libgvfsdbus.so)
> Failed to load module: /run/current-system/profile/lib/gio/modules/libgvfsdbus.so
> /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: version `GLIBC_2.33' not found (required by /gnu/store/lxcz3h4klzg041f6rhi9lfyfqba3zizy-libproxy-0.4.17/lib/libproxy.so.1)
> Failed to load module: /run/current-system/profile/lib/gio/modules/libgiolibproxy.so

IceCat is trying to load libg*.so from /run/current-system/profile/lib,
but those are linked against the old libc (2.31).

The solution is to reconfigure your system to the new libc (2.33), as
provided by current Guix:

sudo guix system reconfigure …

HTH!

Ludo’.
L
L
Ludovic Courtès wrote on 8 Mar 2022 09:44
control message for bug #53344
(address . control@debbugs.gnu.org)
87tuc896kq.fsf@gnu.org
tags 53344 notabug
close 53344
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 53344@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53344
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch