Linking woes mysqlclient.lib
Steve Teale
steve.teale at britseyeview.com
Sun Jul 1 23:42:43 PDT 2007
I'm trying to link against MySQL5.0 mysqlclient.lib. I have done the COFF --> OMF conversion like a good boy
LINK /LIB /CONVERT mysqlclient.lib
coff2omf mysqlclient.lib
Same for yassl.lib which I had to build using VC6 since it is left out of the MySQL5.0 distribution.
The resulting OMF libraries look ok, and libunres can understand them.
In yassl.lib I see (for example) _SSL_new in both the COFF and OMF libraries. Correspondingly, in mysqlclient.lib I see _yaSSL_new.
But if I build a minimal mysqlclient program in D, the linker complains that all the _yaSSL... references are missing. The same program in VC6 with the COFF libraries links ok.
Is this some namespace thing, and if so how do I get around it?
More information about the Digitalmars-d
mailing list