libldif64.lib(line64.o) : error LNK2003: gp relative fixup to symbol not in short data section 'ldap_debug'
....
the above symbol 'ldap_debug' is an 'int' defined in the DLL and is being referenced as an 'extern int' in the static lib -libldif64.lib
I am using the Win64 tools from the Feb2003 Platform SDK.