I’m trying to update packages on my computer but for some of them, I get the following error (this particular error is from updating perl-io-interface.:
Starting build()...
/usr/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/libc.so.6 when looking for /usr/lib/libc.so.6
/usr/bin/ld: not found /usr/lib/libc.so.6
/usr/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/libc.so.6 when looking for /usr/lib/libc.so.6
/usr/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/ld-linux-x86-64.so.2 when looking for /usr/lib/ld-linux-x86-64.so.2
/usr/bin/ld: not found /usr/lib/ld-linux-x86-64.so.2
/usr/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/ld-linux-x86-64.so.2 when looking for /usr/lib/ld-linux-x86-64.so.2
collect2: error: ld returned 1 exit status
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'IO-Interface' version '1.09'
Building IO-Interface
Error: no compiler detected to compile 'lib/IO/Interface.c'. Aborting
==> ERROR: Failed in build().
Undo...
I have no idea what caused it, as my system as my kernel and everything is from Sunday and this is my first system update since then. In one of the cases, when compiling something I got “checking for working gcc … no”. I reinstalled gcc, but nothing changed. I’m not sure if the gcc problem and the libc.so.6 problems are related.
P.S. Question edited, hopefully to make the problem cleared.
This is stock kernel. If the word “xanmod” is offending anyone, I’ll delete it. I’m not asking for help with wifi driver, but with the libc.so.6. If you need additional information, ask me and I’ll provide it. I don’t know how to reproduce it, because it appeared first when installing the kernel and then when I tried to update packages. The error is always the same - the one I mentioned.
Offtopic:
In case you really want to know what my wifi problem is - it’s is that the wifi works for some time (seeming to depend on the tabs opened but not always), then the adapter disappears from everywhere and nothing I’ve done so far has managed to restart it without rebooting the system. And rebooting the system while I’m working is a very bad option for me (seriously, I do long calculation and rebooting ruins them) . My wifi adapter is this:
I’m sorry if I was rude, but I wouldn’t bother with non-supported kernels if I didn’t really need them. For some reasons, under xanmod, the wifi is more stable. I don’t know why.
Some of the things I’ve tried to solve the problem are described in the link below and include changing the firmware, turning off and on the suggested in the replies options, power settings, setting regulatory domains etc.
Then you can try updated the AUR packages after that.
Manjaro does not give support for AUR packages. Maybe the package AUR page have comments on what’s going on.
Another thing that seems to has happened to my system is that Unity games stopped running on the amdgpu. But they run on the Nvidia. I have no idea how this thing happened, the error from the steam debugging is
steam error File "/usr/lib/python3.10/os.py", line 679, in __getitem__ raise KeyError(key) from None
I don’t know if it’s related or no, it seems something messed up when switching from the old kernel to the new one, but I have no idea what. /and please, don’t attack me for unprofessional asking for help, if I could be more coherent I would be/
Ok, the solution to the lib.so.6 problem was updating binutil. I was keeping it fixed because it was messing up with gfortran but apparently the version I was keeping was no longer producing functional /usr/bin/ld. Now I can update packages.