You are not logged in.

#1 2008-12-16 15:09:26

jo3
Member
Registered: 2007-08-18
Posts: 112

[SOLVED] Problem with libX11.so.6

I recently installed arch64 on my new box. The install went well and I have had very few problems until now. I started up yesterday and when I tried to startx I get this:

xauth: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32
xauth: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32
xauth: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32
xauth: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32
xauth: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32
xinit: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32
xauth: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS32

This error did not happen  after an upgrade and the only package I remember installing between reboots was wireshark. :?
I did some research but have not found much. I was told by a friend that I may have installed a 32bit library but I don't know how I would  have, I use ibiblio.org x86_64 repo to install everything.
Can someone give me some advice? Maybe point me in the right direction? 
Thanks in advance.
-Joey

*UPDATE*
I was able to get X to start up by reinstalling libx11-1.1.5-2 but now all the text are small rectangle boxes, in openbox and gnome. hmm

Last edited by jo3 (2008-12-16 15:38:01)

Offline

#2 2008-12-16 15:26:59

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Problem with libX11.so.6

Sure enough, you have a 32 bit version of libx11 on your system. You can get a 64 bit version from here. This should work (as root). This will download and install it:

wget http://archlinux.unixheads.org/extra/os/x86_64/libx11-1.1.5-2-x86_64.pkg.tar.gz && pacman -U libx11-1.1.5-2-x86_64.pkg.tar.gz

The only time that I've seen this is when I was playing with lib32 libraries. I downloaded the folder, ran makepkg, then went pacman -U *pkg.tar.gz. That will install the 32 bit version over the 64 bit.

If this isn't what happened, please report back.

Offline

#3 2008-12-16 15:34:21

jo3
Member
Registered: 2007-08-18
Posts: 112

Re: [SOLVED] Problem with libX11.so.6

Thanks for the quick response. Re-installing libx11-1.1.5-2 got be back into X but now I have small retangle boxes instead of text in gnome and openbox. big_smile any idea on that?
Thanks again.
/me starts the search.

*UPDATE* re-installing pango fixed my font problem. Still not sure wtf happend but i'm back on track now. Thanks for the help skottish! smile

Last edited by jo3 (2008-12-16 15:37:24)

Offline

#4 2008-12-16 20:32:44

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] Problem with libX11.so.6

You are using the archlinuxfr mirror right? It has a borked libx11 package. A simple pacman -S extra/libx11 will solve it.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2008-12-18 00:18:07

gyo
Member
From: France
Registered: 2007-04-14
Posts: 19

Re: [SOLVED] Problem with libX11.so.6

Issue fixed on repo.archlinux.fr (aka [archlinuxfr]), I removed the package.
Look at: http://bbs.archlinux.org/viewtopic.php? … 37#p465537

Offline

Board footer

Powered by FluxBB