Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

I'm trying to use litecoin on OSX with NVidia or CPU mining, and downloaded the binary from here

The specific binary I extracted was cgminer-2.10.5-x86_64-built.tar.bz2. I extracted it and used terminal to CD into the extracted directory.

There is a file there that has execute permissions on it ( ls -lag )

-rwxr-xr-x@  1 staff  382808 Feb  7 01:50 cgminer

If I double click on, or run the app cgminer OSX says: cannot execute binary file.

I verified that my security settings are set to run "unsigned programs from any author" but I don't think that matters in OSX.

How do I run cgminer on OSX?


server:cgminer-2.10.5-x86_64-built username$ od cgminer | head
0000000    042577  043114  000402  000001  000000  000000  000000  000000
0000020    000002  000076  000001  000000  072500  000100  000000  000000
0000040    000100  000000  000000  000000  150130  000005  000000  000000
0000060    000000  000000  000100  000070  000011  000100  000034  000033
0000100    000006  000000  000005  000000  000100  000000  000000  000000
0000120    000100  000100  000000  000000  000100  000100  000000  000000
0000140    000770  000000  000000  000000  000770  000000  000000  000000
0000160    000010  000000  000000  000000  000003  000000  000004  000000
0000200    001070  000000  000000  000000  001070  000100  000000  000000
0000220    001070  000100  000000  000000  000034  000000  000000  000000 
share|improve this question
    
Did you try tar xvf <filename>, then run the file inside? –  Nick ODell Feb 24 '13 at 4:43
    
@NickODell I just re-tried the process using that command. Same error –  makerofthings7 Feb 24 '13 at 4:54
    
No, I mean run the file that the tar command just unpacked. –  Nick ODell Feb 24 '13 at 5:35
    
@NickODell I clarified in the question just now. –  makerofthings7 Feb 24 '13 at 7:18
    
Can you try od cgminer | head? –  Nick ODell Feb 24 '13 at 16:05

1 Answer 1

up vote 1 down vote accepted

You have downloaded the linux version of cgminer, that's not going to run on OS X.

I don't think there is a ready built binary for cgminer on OS X.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.