Author

Topic: Need help getting CGMiner running on linux. "Unable to open diablo120724.cl" (Read 4865 times)

full member
Activity: 146
Merit: 100
cd /usr/bin/
sudo mv cgminer /usr/local/bin/
sudo mv *.cl /usr/local/bin/

Moved files to the directory you told me. 
Seems to be working good now.  Thanks bro!   Grin
SAC
sr. member
Activity: 322
Merit: 250
Well it worked for a day..
Getting the same message again.

"Unable to open diablo120724.cl"

I have tried recompiling to no success.
#locate diablo120724.cl shows that it's where it's supposed to be.  /usr/bin/diablo120724.cl the same directory as cgminer.

I put both in the already mentioned /usr/local/bin and it works all the time.
full member
Activity: 146
Merit: 100
Well it worked for a day..
Getting the same message again.

"Unable to open diablo120724.cl"

I have tried recompiling to no success.
#locate diablo120724.cl shows that it's where it's supposed to be.  /usr/bin/diablo120724.cl the same directory as cgminer.
full member
Activity: 146
Merit: 100
Compiled the new version 2.6.1.
copied adl-sdk files again.

It is now working.
Thanks for the help.
SAC
sr. member
Activity: 322
Merit: 250


[2012-07-29 21:50:04] Long-polling activated for http://mine1.btcguild.com:8332
/LP/
 [2012-07-29 21:50:04] Unable to open diablo120724.cl or ./diablo120724.cl for r
eading
 [2012-07-29 21:50:04] Failed to init GPU thread 0, disabling device 0

Anybody ever run into a similar problem?


Yes I have. It cannot find the file so copy the file from the source folder of cgminer to the current directory you are running the binary from or to /usr/local/bin if you have that location set in your cgminer.conf, also I think I have read somewhere you can use -k /path/to/diablo120724.cl to tell it where to find the file it needs.
legendary
Activity: 1820
Merit: 1000
This is the guide I used

https://github.com/kanoi/linux-usb-cgminer/blob/master/linux-usb-cgminer

but it is somewhat dated at this point so I'm not sure it is best (might be worth checking it against what you did though).

Personally I would just use Ubuntu rather than Mint. I'm actually running Peppermint, which is derived from Ubuntu 11.04, but I believe it was developed by some of the same people on the Mint project. The guide above worked perfectly with CGMiner 2.4 (but I'm not sure about later versions).
full member
Activity: 146
Merit: 100
Big fan of CGminer. Have been using it on windows for a while.
Recently made the move to Linux.  Currently running Linux Mint 13 64-bit.

Followed the guide here https://bitcointalksearch.org/topic/install-cgminer-on-ubuntu-114-x64-44493
except for installing the ATI drivers from the official website.  Using the proprietary ones provided in Linux Mint since attempting to install the drivers following the directions on the forum would cause display errors (black screen at startup, had to reinstall mint).

I also installed the newest version of the AMD ADL files 4.0 (instead of 3.0)
and installed the newest CGminer 2.6.0 (instead of 2.0.3)

I am able to start CGminer, input my username and password and then get this:

[2012-07-29 21:50:04] Long-polling activated for http://mine1.btcguild.com:8332
/LP/
 [2012-07-29 21:50:04] Unable to open diablo120724.cl or ./diablo120724.cl for r
eading
 [2012-07-29 21:50:04] Failed to init GPU thread 0, disabling device 0

Anybody ever run into a similar problem? I tried searching but wasn't able to find much info.
Any help is greatly appreciated.
Jump to: