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.