3 Replies Latest reply on Apr 4, 2011 11:54 PM by xpam24

    libOpenCL.so: cannot open shared object file Ubuntu 10.04

    xpam24

      Hi all,

       

      I´m trying to run an application with the lastest SDK in a Linux Ubuntu 10.04 in 32 bits and i have this error:

       

      ./oclHashcat32.bin: error while loading shared libraries: libOpenCL.so: cannot open shared object file: No such file or directory

      My export is:

      declare -x ATISTREAMSDKROOT="/usr/share/ati-sdk"

      declare -x ATISTREAMSDKSAMPLESROOT="/usr/share/ati-sdk"

      declare -x LD_LIBRARY_PATH="/usr/share/ati-sdk/lib/x86"

      The dir /usr/share/ati-sdk is.:

      pepito@deadhouse:/usr/share/ati-sdk$ ls -l
      total 148
      -rw-r--r-- 1 pepito pepito 61562 2010-12-07 01:42 ATI_Stream_SDK_Installation_
      Notes.pdf
      drwxr-xr-x 3 pepito pepito  4096 2010-12-07 01:42 bin
      drwxr-xr-x 3 pepito pepito  4096 2010-12-07 01:42 docs
      drwxr-xr-x 3 pepito pepito  4096 2011-04-03 22:18 etc
      -rwxr-xr-x 1 pepito pepito   566 2010-12-07 01:42 glut_notice.txt
      -rw-r--r-- 1 pepito pepito   213 2010-12-07 01:42 icd-registration.tgz
      drwxr-xr-x 5 pepito pepito  4096 2010-12-07 01:42 include
      drwxr-xr-x 4 pepito pepito  4096 2010-12-07 01:42 lib
      -rwxr-xr-x 1 pepito pepito  3169 2010-12-07 01:42 LICENSE-llvm.txt
      -rwxr-xr-x 1 pepito pepito 35567 2010-12-07 01:42 LICENSE-mingw.txt
      drwxr-xr-x 2 pepito pepito  4096 2010-12-07 01:42 make
      -rwxr-xr-x 1 pepito pepito   135 2010-12-07 01:42 Makefile
      drwxr-xr-x 4 pepito pepito  4096 2010-12-07 01:42 samples
      drwxr-xr-x 3 pepito pepito  4096 2011-04-03 23:29 TempSDKUtil
      pepito@deadhouse:/usr/share/
      ati-sdk$

      pepito@deadhouse:/etc/OpenCL/vendors$ ls
      atiocl32.icd  atiocl64.icd
      pepito@deadhouse:/etc/OpenCL/
      vendors$

      After i create the var is necesary to do a make or something else?

      Or what should i do?

       

      Regards,