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

I don't know about the 2nd external symbol, but the 1st, unresolved external symbol __pctype, I explain about in Re: A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++.

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.

  • Comment on Re: Win32 installing DBD::mysql, unresolved external symbol

Replies are listed 'Best First'.
Re^2: Win32 installing DBD::mysql, unresolved external symbol
by BUU (Prior) on Jan 24, 2005 at 19:43 UTC
    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?
      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.