unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53344: Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
@ 2022-01-18 11:49 Dr. Arne Babenhauserheide
  2022-01-18 17:52 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Dr. Arne Babenhauserheide @ 2022-01-18 11:49 UTC (permalink / raw)
  To: 53344

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53344: Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
  2022-01-18 11:49 bug#53344: Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed! Dr. Arne Babenhauserheide
@ 2022-01-18 17:52 ` Ludovic Courtès
  2022-01-19  0:20   ` Dr. Arne Babenhauserheide
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2022-01-18 17:52 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: 53344

Hi,

"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?

What does ‘uname -om’ return?

Is LD_LIBRARY_PATH set?

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

Thanks in advance!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53344: Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
  2022-01-18 17:52 ` Ludovic Courtès
@ 2022-01-19  0:20   ` Dr. Arne Babenhauserheide
  2022-01-19 10:31     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Dr. Arne Babenhauserheide @ 2022-01-19  0:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 53344

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]


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.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53344: Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
  2022-01-19  0:20   ` Dr. Arne Babenhauserheide
@ 2022-01-19 10:31     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-01-19 10:31 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: 53344

Hi,

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

> 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).

> 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’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-19 10:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-18 11:49 bug#53344: Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed! Dr. Arne Babenhauserheide
2022-01-18 17:52 ` Ludovic Courtès
2022-01-19  0:20   ` Dr. Arne Babenhauserheide
2022-01-19 10:31     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).