Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on OS X 10.8 #47

Open
avidwriter opened this issue Mar 19, 2012 · 3 comments
Open

Running on OS X 10.8 #47

avidwriter opened this issue Mar 19, 2012 · 3 comments

Comments

@avidwriter
Copy link

Trying this on OS X 10.8 Developer Preview 2. Using the built-in python2.7. Andreas at pyopencl modified that code to install on 10.8 which it appears to do. I'm trying to then run 2/5/12 version of poclbm and am getting this error:

$ ./poclbm.py --user=xxx --pass=xxx -o bitcoinpool.com -p 8334
Traceback (most recent call last):
File "./poclbm.py", line 3, in
from BitcoinMiner import *
File "/Volumes/Hitachi/Downloads/m0mchil-poclbm-fa6915c/BitcoinMiner.py", line 11, in
import pyopencl as cl
File "/Library/Python/2.7/site-packages/pyopencl-2011.2-py2.7-macosx-10.8-intel.egg/pyopencl/init.py", line 4, in
import pyopencl._cl as _cl
ImportError: dlopen(/Library/Python/2.7/site-packages/pyopencl-2011.2-py2.7-macosx-10.8-intel.egg/pyopencl/_cl.so, 2): Symbol not found: _clCreateProgramWithBuiltInKernels
Referenced from: /Library/Python/2.7/site-packages/pyopencl-2011.2-py2.7-macosx-10.8-intel.egg/pyopencl/_cl.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/pyopencl-2011.2-py2.7-macosx-10.8-intel.egg/pyopencl/_cl.so

Any ideas how to fix it? thanks

@neogenix
Copy link

neogenix commented Aug 8, 2012

This thread says it's a problem with pyopencl, and can be fixed installing the version from git :

http://www.mail-archive.com/[email protected]/msg01230.html

This fixes it for me as follows :

git clone http://git.tiker.net/trees/pyopencl.git
cd pyopencl
git submodule init
git submodule update
sudo python setup.py install

And, then it works!

@bitkevin
Copy link

bitkevin commented Sep 1, 2012

nice work, help me lot.

@bitkevin
Copy link

bitkevin commented Sep 1, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants