You are not logged in.

#1 2009-07-09 12:35:01

queltos
Member
Registered: 2008-02-15
Posts: 17

x86_64/i686 mess causing invalid ELF header error

Hi

After my last pacman -Syu I got a wrong ELFCLASS error for /usr/lib/libQtXml.so.4 in /var/log/kdm.log (i.e. my kdm wouldn't start, no errors in X.0.log). Soon found the error: I had a bad entry in pacman.conf for kdemod-core. I used the i686 repo on a x86_64 system. Changed that, reinstalled qtmod and kdemod and got a new error:

/usr/lib/kde4/libexec/kdm_greet: error while loading shared libraries: /usr/lib/libQtXml.so.4: invalid ELF header

+ some binary data at the end of kdm.log. Binary data appeared also at the end of X.0.log.

After deleting all i686 packages from /var/cache/pacman/pkg I reinstalled every package installed with something like this: pacman -Sy `pacman -Q | sed 's/package_version_string/packagename/'` to make sure all stuff is taken from the x86_64 repos. Rebooted but still no success. kdm won't start logging the same ELF header error + some binary data at the end of the file.

Any help appreciated.

Offline

#2 2009-07-09 12:38:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: x86_64/i686 mess causing invalid ELF header error

"pacman -Qo <file>" for the file giving the error.  That way you will know what package you need to fix.

Offline

#3 2009-07-09 17:31:54

queltos
Member
Registered: 2008-02-15
Posts: 17

Re: x86_64/i686 mess causing invalid ELF header error

Thx for you reply.

Is there a way to force reinstallation of all dependencies of a package? Couldn't find anything like that in the pacman man-page.

Offline

Board footer

Powered by FluxBB