• Re: [gentoo-user] glibc can't find /lib/libdl.so.2

    From Peter =?ISO-8859-1?Q?B=F6hm?=@21:1/5 to All on Sat Mar 18 20:40:01 2023
    Michael,

    is this a systemd machine ? If yes: We had the same problem before some days in our Gentoo forum:

    https://forums.gentoo.org/viewtopic-t-1162393.html

    Here it was SystemCallFilter from systemd.

    Regards,
    Peter

    Am Samstag, 18. März 2023, 19:36:10 CET schrieb Michael:
    It's only been a couple of weeks since I updated this system, so I don't
    know
    why it fails with a glibc update, while other systems have no problem:
    [...]
    * The specific snippet of code:
    * [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc.";
    *

    The kernel has IA32_EMULATION compiled in:

    # grep IA32_EMULATION /usr/src/linux/.config
    CONFIG_IA32_EMULATION=y

    and /lib/libdl.so.2 appears to be present and correct:

    $ ls -l /lib/libdl.so.2
    -rwxr-xr-x 1 root root 13660 Nov 20 13:59 /lib/libdl.so.2

    So, why does it fail and more importantly ... how can I get past it? ;-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Mar 18 21:11:39 2023
    On Saturday, 18 March 2023 19:37:50 GMT Peter Böhm wrote:
    Michael,

    is this a systemd machine ? If yes: We had the same problem before some
    days in our Gentoo forum:

    https://forums.gentoo.org/viewtopic-t-1162393.html

    Here it was SystemCallFilter from systemd.

    Regards,
    Peter

    Thanks Peter, no this is a openrc system. I don't even understand what a SystemCallFilter thing is ... :-/
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmQWKQsACgkQseqq9sKV ZxlNyBAA7lJYyOdkgJC02V2peQkrPaa6XixtZX0au5DQV629GjOzqnlau+Djq3R8 PIpY6FNxsatzGVIhM3Vk7HtgGJL+2p2tVNqxormN3F9gfAoCIDhbjWjS5j3WccTP WzIes+YX5nrjJH1scoCQWKPH5096wxtWAo+fUBsXy3N/5RSkvsduomd8qYmxpnUk LppxGZPBSfnrdGS4o+17vAIq9r2XcOMdvZxE90clzRx6t5AWfcUWn24+BFkSrVIm 7Avfx/1hRQFrcDvU/Ppmb8ZMS6tVlUjHYdviQX+9LBHxP6F0+SMpUas9teIuOYjp N9au0VPfqNjATi3lmTYkr8z/y9xc+oziFj2tXF3VU2OXqUJCTnz0BlJhbXf8rsxV ONIiGSEXEXZoH0/0IPeLO+K+c1oGvXQWd4JAjFZRw7+Wn0NMhPx5XlMX/O9JGCx6 cniALJxE1qvh1HYtQd+hGiYoTThoDN+LRuoVs5dLCPNVcjlG6f+mkZPaKxisrdYY GlB9odDWZiEmX/8dSjPcdQmeOoFe+4SkDF0L8+TLAq2R+9gRXwDHVyLHhurR1XUc UInFkYal1OTUPVxTWBz8csTcs8Wl7M2g4CBo0KxMfCrY8VCzb7ac4RihGgExRQZv Cyd/pSiTHw+gLBOaOPh1HhHhG5qv5NnwT4vI49msbxRdiNMFnKE=
    =6+dm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell@21:1/5 to Michael on Sun Mar 19 03:50:01 2023
    On Sat, 2023-03-18 at 18:36 +0000, Michael wrote:
    The kernel has IA32_EMULATION compiled in:

     # grep IA32_EMULATION /usr/src/linux/.config
    CONFIG_IA32_EMULATION=y

    Small nit-pick: Is it enabled in the kernel that is actually running?  

    zgrep CONFIG_IA32_EMULATION /proc/config.gz

    and /lib/libdl.so.2 appears to be present and correct

    Is the file (or the filesystem, or the disk) possibly corrupted? The
    "cannot real file data: Input/output error" is troubling. I would try
    fsck'ing the file system from a live USB if possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Mar 19 11:27:06 2023
    On Sunday, 19 March 2023 02:46:18 GMT Matt Connell wrote:
    On Sat, 2023-03-18 at 18:36 +0000, Michael wrote:
    The kernel has IA32_EMULATION compiled in:

    # grep IA32_EMULATION /usr/src/linux/.config
    CONFIG_IA32_EMULATION=y

    Small nit-pick: Is it enabled in the kernel that is actually running?

    zgrep CONFIG_IA32_EMULATION /proc/config.gz

    I don't have IKCONFIG in the kernel, but I did check in the first instance which kernel I had booted with.


    and /lib/libdl.so.2 appears to be present and correct

    Is the file (or the filesystem, or the disk) possibly corrupted? The
    "cannot real file data: Input/output error" is troubling. I would try fsck'ing the file system from a live USB if possible.

    Yes! This was the problem. I have a corrupted partition and all sort of
    files can't be accessed. :-(

    Now to see how old the backup I have is and take it from there. Thanks for pointing me in the right direction.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmQW8YoACgkQseqq9sKV ZxmvOBAAy2B4o1YzEIslNiEElnPP4cDcXZYk32jbaFc9aMN3S+Foz1oe7QcYGnPE o7pRJX5Pg0YMkr9QNo2CIBIHv6Y+lPN2zTbc1KFy3FlV2Rw+nEOR7/zYYmcUJrda oUX4wlRsraAtdcaqKu+MGYV5G3zAMYwXSmVG2PssWSuQSkaBpjbAgIOKi23+xwDD eQ6S4Vrvr6jvqEYWHT7hexuv6l1XZ+ikmyciyCaDxX4BP/Z7wBDkNEnTLi4vj+dD d+nOEXI19aSkF6RypsiX1Mx5sZrrQqs8/ikm9gYjd6k2gNeDTkuxxl5n/At+up5p 9sbpWIw5rENTToPWlZnB/o45HYu2lDN0zKVK7YbdCRAl+ytpqHacUotvkEjdxoM0 Obg5etgXRwhCI6j6GIEuSJMGFNxuH8LBlVJjom6Am8CGfn9yVIJbBqaMF92+75r5 FbIub96RujfHI0KTkvpt5xUGXCCznN7jrKoBn8hubsEklS1W7qqAjrRGXY8dnpt4 BCpYMrLpnNC21dDZ25VxnmqzZ2bT0suGeKl1H1VsdPLN4q5m+/1Schykep1wVFdk Q/iq/Q2cAfWs2KKdRXWQldLgInQNygUXE6bL2MXW6fJraZFMxUYo/SdaWsPX5xlb s86+yhWe5jXFmRfVYoSH5rGiSQ1n/N3X02ibPc7c8o7FQktpzl8=
    =pPfK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)