Bitcoin Forum
July 26, 2017, 06:45:04 PM *
News: BIP91 seems stable: there's probably only slightly increased risk of confirmations disappearing. You should still prepare for Aug 1.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: SOLVED: cgminer execute error  (Read 669 times)
dukrat
Newbie
*
Offline Offline

Activity: 6


View Profile
October 26, 2011, 06:07:37 AM
 #1

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.  
1501094704
Hero Member
*
Offline Offline

Posts: 1501094704

View Profile Personal Message (Offline)

Ignore
1501094704
Reply with quote  #2

1501094704
Report to moderator
1501094704
Hero Member
*
Offline Offline

Posts: 1501094704

View Profile Personal Message (Offline)

Ignore
1501094704
Reply with quote  #2

1501094704
Report to moderator
1501094704
Hero Member
*
Offline Offline

Posts: 1501094704

View Profile Personal Message (Offline)

Ignore
1501094704
Reply with quote  #2

1501094704
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1501094704
Hero Member
*
Offline Offline

Posts: 1501094704

View Profile Personal Message (Offline)

Ignore
1501094704
Reply with quote  #2

1501094704
Report to moderator
1501094704
Hero Member
*
Offline Offline

Posts: 1501094704

View Profile Personal Message (Offline)

Ignore
1501094704
Reply with quote  #2

1501094704
Report to moderator
1501094704
Hero Member
*
Offline Offline

Posts: 1501094704

View Profile Personal Message (Offline)

Ignore
1501094704
Reply with quote  #2

1501094704
Report to moderator
dukrat
Newbie
*
Offline Offline

Activity: 6


View Profile
October 26, 2011, 06:12:22 AM
 #2

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. 
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!