kolasa / fglrx-13.251

amd-catalyst-13.12-linux-x86.x86_64.zip
http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip
3 stars 1 forks source link

libGL.so.1: wrong ELF class: ELFCLASS32 #2

Open bitofsecurity opened 10 years ago

bitofsecurity commented 10 years ago

First of all, kudos for your patches. Until now they worked like a charm. My issue is with Kali v1.0.6 running Kernel 3.12.

\ Installed all necessary kernel headers

root@kali:~# uname -a
Linux kali 3.12-kali1-amd64 #1 SMP Debian 3.12.6-2kali1 (2014-01-06) x86_64 GNU/Linux

root@kali:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux Kali Linux 1.0.6
Release:    Kali Linux 1.0.6
Codename:   n/a

root@kali:~# ./amd-catalyst-13.12-linux-x86.x86_64.run --extract src
root@kali:~# cd src/

\ Replaced firegl_public.c and kcl_acpi.c with files from your GIT.

root@kali:~# ./ati-installer.sh 13.251 --install 
*********************************************************************
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
*********************************************************************
Detected configuration:
Architecture: x86_64 (64-bit)
X Server: X.Org 6.9 or later 64-bit
loki_setup: directory: (null)
/usr/bin/zenity: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32
root@kali:~# reboot

\ After reboot

root@kali:~# fglrxinfo 
fglrxinfo: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32

At this point, reinstalled kernel headers, libgl1-mesa-glx, tried linking /usr/lib(64)/libGL.so.1 and vice versa. This issue persists since early January. (I have AMD APP SDK installed, so next step is to do a fresh OS install which I am saving for the last)

Tried with beta driver (fglrx-13.250) for similar results.

Please guide me to right direction, Thanks.

kolasa commented 10 years ago

You have probably installed libGL i386 instead of x64, try to solve: http://askubuntu.com/questions/332526/error-while-trying-to-install-amd-drivers