In my case, some combination of these.
in reply to Re^3: DBD::mysql fail install check
in thread DBD::mysql fail install check
This is just an FYI, having struggled through installing DBD-mysql on OSX (yet again).
32 or 64 bit? The system Perl that came with Mavericks is dual architecture. But this time around I was installing using perlbrew, which is 64 bit. So,duh, I need the 64-bit MySQL database.
That means I don't need to set VERSIONPER_PERL_PREFER_32_BIT anymore.
Oh, don't forget to stop the 32-bit and start the 64 bit first.
Then, set DYLD_LIBRARY_PATH before building the module.