in reply to Re: Win32 installing DBD::mysql, unresolved external symbol
in thread Win32 installing DBD::mysql, unresolved external symbol

Thanks for the reply, I looked at my Makefile and it did indeed say "-MT" in the CCFLAGS variable. I tried changing that to all of the other variations you list in that node (-MD, -LD, etc), and none of them produce a different error. perl -V:ccflags produces
perl -V:ccflags ccflags='-nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRI +CT -DHAVE_ DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO - +DPERL_MSVC RT_READFIX';
Which seems to be the same options that are in the CCFLAGS section of the make file for DBD::Mysql. Is there perhaps something else I need to change, or change else where?

Replies are listed 'Best First'.
Re^3: Win32 installing DBD::mysql, unresolved external symbol
by PodMaster (Abbot) on Jan 26, 2005 at 04:14 UTC
    What? perl -V:ccflags reveals the -MD option, which means link with MSVCRT.LIB . This means that mysqlclient.lib also needs to link with MSVCRT.LIB.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Oh, I see what you're saying now. Unfortunately when I try to configure mysql to link with -MD, I get lots of fun errors. Meh. I think I'll just go use SQLite.