5 Replies Latest reply on Oct 30, 2011 5:52 PM by mschachter

    no symbols in libOpenCL.so?

    mschachter
      Can't link to libOpenCL.so in ubuntu 11.10

      I installed AMDAPPSDK v.25 (64bit ) on Ubuntu 11.10, but there are no symbols in libOpenCL.so:

      username@host:/opt/AMDAPP/lib/x86_64$  nm libOpenCL.so.1

      nm: libOpenCL.so.1: no symbols

      When I try to link to the library, I get "No symbol resolved" errors such as:

      ng.cpp:(.text+0x175): undefined reference to `clCreateBuffer'

      I assume this is because there are no symbols in libOpenCL.so... There may be problems with my setup but it seems like there should at least be some symbols in libOpenCL.so so I can link executables to it.

      Any ideas? Has anyone successfully run AMDAPPSDK v2.5 on Ubuntu 11.10?

      Some more info:

      Hardware Setup:

        - monitor is hooked up to the onboard video to the motherboard, with an intel i7 2600K

       -  AMD Radeon HD 6870 on a PCIe slot for computational purposes

      OS: Ubuntu 11.10

      Driver Version: Recent Catalyst install, might be broken but I don't think that explains missing symbols

      APPSDK Version: AMD-APP-SDK-v2.5-lnx64.tgz

      Installation Output:

      sudo ./Install-AMD-APP.sh

      64-bit Operating System Found..
       Starting Installation of AMD APP....
       SDK package name is :AMD-APP-SDK-v2.5-RC2-lnx64.tgz
      Current directory path is  : /home/cheese63/downloads/temp
      Untar command executed succesfully, The SDK package available
      Untar command executed succesfully, The ICD package available
      Copying files to /opt/AMDAPP/ ...
      SDK files copied successfully at /opt/AMDAPP/
      Updating Environment vairables...
      32-bit path is :/opt/AMDAPP/lib/x86
      64-bit path is :/opt/AMDAPP/lib/x86_64
      Environment vairables updated successfully
      /sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or directory
      /sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: No such file or directory
      /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
      /sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
      /sbin/ldconfig.real: Cannot stat /usr/lib32/libasprintf.so: No such file or directory
      Global environment vairables Initialized
      AMD APP installation  Completed
      >>Reboot required to reflect the changes
      >>Please refer the 'Log file' in the same directory
      >>Refer the README.txt in the same directory for more info

      Thanks!