You are not logged in.

#1 2022-03-14 08:26:24

ds6pex
Member
Registered: 2022-03-14
Posts: 6

idconfig wrong magic bytes at start error

Hi, I just reinstalled ArchLinux.
And i get error like under when i'm trying to install package.
" idconfig: /usr/lib/lib/Xaw7.so.7.0.0 is not an ELF file - it has the wrong magic bytes at the start. "
Can someone teach me what is ELF and how to fix this error?

Offline

#2 2022-03-14 08:48:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: idconfig wrong magic bytes at start error

What exactly are you trying to install where and how? Post the entire command output, as well as

pacman -Qkk libxaw
lsblk -f

that also looks like a weirdly ORCd output, you can copy literal error messages rather than running them through some weird screenshot grabber/introducing typos while transcribing yourself. It's ldconfig with a lowercase L and /usr/lib/libXaw7.so.7.0.0 without a slash after the second lib

If you get this routinely for multiple packages then you have disk corruption and you probably want to run a SMART test using smartctl (you can and should do so from a live disk while not having the potentially faulty disk mounted/actively using it) and then post smartctl -a $drive after the mentioned time frame has elapsed.

Post outputs to a pastebin or in code tags

Last edited by V1del (2022-03-14 08:59:45)

Offline

#3 2022-03-15 00:11:47

ds6pex
Member
Registered: 2022-03-14
Posts: 6

Re: idconfig wrong magic bytes at start error

Thanks for lifting reply.
And yes, I get this error routinely for every time installing packages.

https://imgur.com/uh6Z86d This one is full screenshot image of error message. (I coudn't copy or write it because it was too long and running on other computer.)
https://imgur.com/a/S0b5kg9 And this one is result of smartctl -a command.

Last edited by ds6pex (2022-03-15 00:17:25)

Offline

#4 2022-03-15 07:21:26

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

Re: idconfig wrong magic bytes at start error

I coudn't copy or write it because it was too long and running on other computer.

No need for copy-and paste.

There's a humongous amount of erase failures and you seem to have used all reserve blocks after almost 18TB being written - looks like the disk is toast.
https://wiki.archlinux.org/title/Badblocks

Offline

#5 2022-03-15 10:35:54

ds6pex
Member
Registered: 2022-03-14
Posts: 6

Re: idconfig wrong magic bytes at start error

Hi, Thanks for lifting reply.
It seems like we can't solve this problem anymore. But don't worry.
I've already backuped important files and i just decied to reformat the drive and then reinstalling it. And it's woring nomally now.
There was no physical problem with hard disk. I think i've gotten forget something to install when i was installing it.
Anyway Thanks for helping me.

Offline

#6 2022-03-15 13:59:44

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

Re: idconfig wrong magic bytes at start error

There was no physical problem with hard disk. I think i've gotten forget something to install when i was installing it.

The SMART data strongly suggest differently and the circumstancial evidence very much supports that the drive is falling apart.
There's no " forget something to install" that would explain the symptoms, but the format and re-installation will have allowed the drive to stay away from the worn out sectors - for the moment.
Please post the complete smartctl outptut (as text, not an image) and be aware that THE DRIVE IS MOST LIKELY DYING!

Offline

Board footer

Powered by FluxBB