Bitcoin Forum

Other => Beginners & Help => Topic started by: dukrat on October 26, 2011, 06:07:37 AM



Title: SOLVED: cgminer execute error
Post by: dukrat on October 26, 2011, 06:07:37 AM
I'm trying to compile the latest cgminer-2.0.7 with x86_64-w64-ming32.  

I've compiled it with CFLAGS="-DCURL_STATICLIB -static", no errors on configure or make, but when I run it I get this:

cgminer.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

I've tried using ldd but it tells me that the function isn't implemented.  

Anyone have any idea what is going on or at the very least have an idea how to identify that "?"  It seems strange that I'm not getting any information about what shared object file it can't find.  


Title: Re: cgminer execute error
Post by: dukrat on October 26, 2011, 06:12:22 AM
Okay, I am an idiot. 

If you want to have win64 programs return useful errors to you, you should run them in win64, not cygwin.

Missing library was pthreadGC2.dll

Hope this helps someone.