On a laptop with updated CentOS5 x86_64 I built the 8.37.6 driver using:
$ sh ./ati-driver-installer-8.37.6-x86.x86_64.run --buildpkg RedHat/RHEL5_64a
It built and I installed the rpm, adjusted my xorg.conf and it runs fine. My problem is with running amdcccle. It seems AMD/ATI ships a 32bit app that needs /usr/lib/libGL.so.1 which, on a 64bit box, does not exist.
$ file /usr/bin/amdcccle
/usr/bin/amdcccle: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.3, dynamically linked (uses shared libs), for GNU/Linux 2.4.3, not stripped
$ ldd /usr/bin/amdcccle
linux-gate.so.1 => (0xffffe000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x07401000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x0784c000)
libdl.so.2 => /lib/libdl.so.2 (0x00c7f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0083b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00101000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00db7000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00dac000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00df9000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x002b3000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00ded000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00c66000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x0084d000)
libGL.so.1 => not found
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf7f1f000)
libm.so.6 => /lib/libm.so.6 (0x00c85000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00863000)
libc.so.6 => /lib/libc.so.6 (0x00b27000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00d9a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00d9f000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00206000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00402000)
Is there a way to fix this?
amdcccle: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64
That error message seems to imply that there is no 32bit libGL.so.1 (which makes sense on a x86_64 box). What do you think? Thanks.
Perhaps there's another libGL that was compiled for 32 bits? Anyone with more 64bit experience, feel free to intervene.The fglrx driver package ships with a 32-bit amdcccle binary, which will also work on 64-bit Linux distributions
Last edited by Xipeos; 06-11-2007 at 01:03 PM.
Found this post while looking for a solution myself. After a while, I just did the following which worked for my system:
./ati-driver-installer-8.37.6-x86.x86_64.run --buildpkg RedHat/RHEL5
./ati-driver-installer-8.37.6-x86.x86_64.run --buildpkg RedHat/RHEL5_64a
rpm -ivh fglrx_7_1_0-8.37.6-1.i386.rpm
rpm -ivh fglrx64_7_1_0-8.37.6-1.x86_64.rpm --nodeps
Yep, create both x86 and x86_64 packages then first install the x86 package followed by installing the x86_64 package. amdcccle now works
At which point I tried these two commandsamdcccle: error while loading shared libraries: libICE.so.6: cannot open shared object file: No such file or directory
and tried amdcccle again. At which point I got this error.LD_LIBRARY_PATH="/usr/lib/:/usr/lib32/"
So as domi suggested I installed ia32-libs package ...amdcccle: error while loading shared libraries: libICE.so.6: wrong ELF class: ELFCLASS64
and now... IT WORKS!