I have archlinux on my x86_64 laptop with NVIDIA GeForce 8400M GT graphics. I can start x, but when I try to run programs like xfce4-terminal I get:
xfce4-terminal: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32
So after some researches on the net, I discovered that it was a library problem. In fact,
file libGL.so.310.40 gave me:
libGL.so.310.40: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
I updated packages (
pacman -Syu) and reinstalled nvidia, nvidia-utils, lib32-nvidia-utils, libgl, nvidia-libgl and lib32-nvidia-libgl. But I still experience the problem. and all binaries with
file command return me ELF 64-bit LSB ...
How can I solve this problem?