I am using freetds 0.63 and unixodbc 2.2.11. Both working fine i-e tsql and isql utilities. Then i installed DBI and it installed successfuly. Now when I try to install DBD::ODBC its test fail and return following error.

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base.........ok
t/02simple.......NOK 27# Failed test (t/02simple.t at line 132)
# '0'
# >
# '0'
t/02simple.......ok 36/36# Looks like you failed 1 tests of 36.
t/02simple.......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 27
Failed 1/36 tests, 97.22% okay
t/03dbatt........ok
t/05meth.........ok
t/07bind.........ok
t/08bind2........ok
3/5 skipped: SQLDescribeParam not supported using Microsoft SQL Server
t/09multi........ok
t/20SqlServer....ok 5/37DBD::ODBC::st execute failed: (DBD: st_execute/SQLExecute err=-1) at t/20SqlServer.t line 210.
# Looks like you planned 37 tests but only ran 5.
# Looks like your test died just after 5.
t/20SqlServer....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-37
Failed 32/37 tests, 13.51% okay
t/30Oracle.......ok
2/4 skipped: Oracle tests not supported using Microsoft SQL Server
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/02simple.t 1 256 36 1 2.78% 27
t/20SqlServer.t 255 65280 37 64 172.97% 6-37
5 subtests skipped.
Failed 2/9 test scripts, 77.78% okay. 33/137 subtests failed, 75.91% okay.
*** Error code 2



How can I fix it. In past i successfuly build the same thing but now its pining me.
Any help.
Thanks.