ubuntuodbcsqitch

How to update DBD::ODBC from 1.56 to 1.59 (or later) on Ubuntu 18.04 LTS?


I'm new to sqitch. I'm trying to create a Jenkins pipeline to deploy snowflake using sqitch. So, I got sqitch and snowsql installed to my Ubuntu 18.04 LTS in Azure.

I'm trying to run the following command:

sqitch verify --target dev

and I get error regarding ODBC driver:

DBD::ODBC 1.59 required to manage Snowflake 

Looks like here is the package I have and it is the latest for my Ubuntu 18.04 LTS.

But I need this one.

But if I got it right I need ti upgrade my Ubuntu from 18.04 to 20.10. Is it correct? Can anyone help me with this?


Solution

  • Needed to install unixODBC:

    sudo apt-get install unixodbc-dev
    

    That helped to successfully run the command:

    sudo cpanm DBD::ODBC
    

    Successfully installed DBD-ODBC-1.61