in reply to DBD::Sybase error

Have you tried installing the module via apt?
sudo apt-get install libdbd-sybase-perl -y

I would try that first. I've seen some weird instances where cpan doesn't link everything up correctly. I try to use as many apt controlled perl packages as possible to eliminate this frustration

Replies are listed 'Best First'.
Re^2: DBD::Sybase error
by sebastiaopburnay (Initiate) on Apr 29, 2015 at 18:05 UTC

    Thank you for your suggestion on installing the module via apt-get; the module was indeed installed after I added the '--force-yes' flag

    Yet, I now have a different error that seems to me like some kind of conflict:

    root@server:# ./check_mssql_health --hostname <MSSQL_Server_IP> --user +name <MSSQL_user> --password <MSSQL_pass> --mode connection-time CRITICAL - cannot connect to <MSSQL_Server_IP>. install_driver(Sybase) + failed: DBD::Sybase object version 1.14 does not match bootstrap par +ameter 1.15 at /usr/lib/perl/5.14/DynaLoader.pm line 207. Compilation failed in require at (eval 10) line 3. at ./check_mssql_health line 3192

      I suppose it's possible that the version under apt is 1.14 and the version that cpan partially installed was 1.15. What I would do is remove the package from cpan and apt and try reinstalling just the apt version.

      After that try

      sudo apt-get autoremove && sudo apt-get install libdbd-sybase-perl -y

      Basically try to clean up some of the mess.