Announcement

Collapse
No announcement yet.

8.37.6 amdcccle on x86_64 no go?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 8.37.6 amdcccle on x86_64 no go?

    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)
    /lib/ld-linux.so.2 (0x00b0a000)
    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?

  • #2
    Originally posted by lowlands View Post
    It seems AMD/ATI ships a 32bit app that needs /usr/lib/libGL.so.1 which, on a 64bit box, does not exist.
    That's not true. You're just missing a link. Find your libGL.<Whatever> and link it :P
    Example:
    Code:
    ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
    The link should be made automatically by the fglrx installer.

    Comment


    • #3
      Originally posted by Xipeos View Post
      That's not true. You're just missing a link. Find your libGL.<Whatever> and link it :P
      Example:
      Code:
      ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
      The link should be made automatically by the fglrx installer.
      I'm not sure if that is correct. Here is the error message when I start amdcccle:

      [root@localhost]# amdcccle
      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.

      Comment


      • #4
        Originally posted by lowlands View Post
        I'm not sure if that is correct. Here is the error message when I start amdcccle:

        [root@localhost]# amdcccle
        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.
        Yes, that makes sense. However, it should work with the libs compiled for 64 bits. From Michael's article
        The fglrx driver package ships with a 32-bit amdcccle binary, which will also work on 64-bit Linux distributions
        Perhaps there's another libGL that was compiled for 32 bits? Anyone with more 64bit experience, feel free to intervene.
        Last edited by Xipeos; 11 June 2007, 01:03 PM.

        Comment


        • #5
          Originally posted by Xipeos View Post
          Yes, that makes sense. However, it should work with the libs compiled for 64 bits. From Michael's article


          Perhaps there's another libGL that was compiled for 32 bits? Anyone with more 64bit experience, feel free to intervene.
          You need to install libraries compiled for 32bits on your 64 bits system. On Debian, this is provided by ia32-libs package.

          HTH

          Comment


          • #6
            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

            Comment


            • #7
              Originally posted by high View Post
              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
              Thanks for the tip! Hardly logical but if it works it works

              Comment


              • #8
                Yay Domi, makes amdcccle work for me

                Originally posted by domi View Post
                You need to install libraries compiled for 32bits on your 64 bits system. On Debian, this is provided by ia32-libs package.

                HTH
                I was struggling with the same problems on Debian Lenny amd64... type in amdcccle at the command line and get a bunch of shared library problems my particular error message was...

                amdcccle: error while loading shared libraries: libICE.so.6: cannot open shared object file: No such file or directory
                At which point I tried these two commands
                LD_LIBRARY_PATH="/usr/lib/:/usr/lib32/"
                export LD_LIBRARY_PATH
                and tried amdcccle again. At which point I got this error.

                amdcccle: error while loading shared libraries: libICE.so.6: wrong ELF class: ELFCLASS64
                So as domi suggested I installed ia32-libs package ...
                and now... IT WORKS!

                Comment

                Working...
                X