Did you delete the nvidia libopenCL* from both
/usr/lib/nvidia-319-updates and /usr/lib32/nvidia-319-updates, and are
they still absent (an update of nvidia-319-updates might have put them
back)?  Does the problem persist after restarting the machine?

My setup of copying libOpenCL.so.1.0.0 to /usr/local/lib and there
creating libOpenCL.so, libOpenCL.so.1 symlinks doesn't require deleting
Nvidia's libopenCL (but does require running ldconfig) so will survive
Nvidia updates, but will need to be manually removed to revert to the
package when this bug is fixed.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1174205

Title:
  Using pyopencl doesn't work and spits our ImportError

Status in “fglrx-installer” package in Ubuntu:
  Confirmed
Status in “nvidia-graphics-drivers-319” package in Ubuntu:
  Confirmed
Status in “pyopencl” package in Ubuntu:
  Confirmed

Bug description:
  Pyopencl doesn't work on raging, the following error message is
  generated:

  Python 2.7.4 (default, Apr 19 2013, 18:32:33)
  [GCC 4.7.3] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import pyopencl
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 4, in 
<module>
      import pyopencl._cl as _cl
  ImportError: /usr/lib/python2.7/dist-packages/pyopencl/_cl.so: symbol 
clRetainDevice, version OPENCL_1.2 not defined in file libOpenCL.so.1 with link 
time reference

  I am using the following drivers:
  adrian@toad:~$ dpkg -l | grep nvidia
  ii  nvidia-304-updates                        304.88-0ubuntu2                 
            i386         NVIDIA binary Xorg driver, kernel module and VDPAU 
library
  ii  nvidia-cg-dev:i386                        3.1.0013-1                      
            i386         Cg Toolkit - GPU Shader Authoring Language (headers)
  ii  nvidia-cg-toolkit                         3.1.0013-1                      
            i386         Cg Toolkit - GPU Shader Authoring Language
  ii  nvidia-common                             1:0.2.76                        
            i386         transitional package for ubuntu-drivers-common
  ii  nvidia-settings-304-updates               304.88-0ubuntu1                 
            i386         Tool for configuring the NVIDIA graphics driver


  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: python-pyopencl 2012.1-1ubuntu4
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: i386
  Date: Mon Apr 29 09:56:38 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_ZA.UTF-8
   SHELL=/bin/bash
  SourcePackage: pyopencl
  UpgradeStatus: Upgraded to raring on 2013-04-27 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1174205/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to