in reply to DBD::mysql error
Check into which directory MySQL libraries were installed, probably somewhere in /usr/local tree since you've installed if from source. Make sure that /etc/ld.so.conf contains that directory. After that run ldconfig.
HTH
In Section
Seekers of Perl Wisdom