Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
by
BitcoinPappi
on 10/08/2011, 01:04:01 UTC
I'm a bit of a n00b to the whole command line thing. I'm getting the following error when I try to execute "./poclbm.py":
Code:
Traceback (most recent call last):
  File "./poclbm.py", line 3, in
    from BitcoinMiner import *
  File "/home/joey/poclbm/BitcoinMiner.py", line 4, in
    from log import *

I tried a different way to get my machine mining bitcoin with the poclbm miner that did not work, and I'm wondering if the previous method is interfering with this attempt.

Hey,

I think if you redo the following steps, use the example for whether 2.1 or 2.4. You basically need to redo from here cd pyopencl-0.92. But before you do that remove all .pyc files and siteconf.py. Redo the instructions and you should be up and running

32-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx32/lib/x86/" >> /etc/ld.so.conf.d/local.conf'
32-bit 22. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx32/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx32/lib/x86
or
64-bit 21. sudo sh -c 'echo "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/" >> /etc/ld.so.conf.d/local.conf'
64-bit 22. ./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx64/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64

23. sudo ldconfig
24. source ~/.bashrc
25. make -j3
26. sudo make install