digitalmars.D - Linking woes mysqlclient.lib
- Steve Teale (8/8) Jul 01 2007 I'm trying to link against MySQL5.0 mysqlclient.lib. I have done the COF...
- BCS (2/8) Jul 02 2007 can that be built with dmc?
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?
Jul 01 2007
Reply to Steve,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 outcan that be built with dmc?
Jul 02 2007