HI,
I believe there are (at least) a couple of steps needed to allow you to use 3rd party supplied or self created windows libraries.
The loader does not like the format of a <x>.lib file.
"gendef" compiled for your version of mingw64 creates <x>.def file from a <x>.lib
"dlltool" for your version of mingw64 creates a lib<x>.a file from a <x>.dll file and the <x>.def file
The loader likes the format of the <x>.a file. This means, I think, that the <x>.dll has been ripped apart to create the <x>.a file.
I found the documentation for cgo to be a bit like an onion. You have to keep peeling back layers until you get to the detailed answers.
Best of luck, and please report back on how you did it, or I may be asking the same question later!
Doug