title: AWS Lambda Connect to Redshift DB using ODBC Connection
body: <p>I am trying to connect to RedShift DB Using AWS Lambda from .NEt Core 2.0 C# App.</p>
  
  <p>Below is my approach.</p>
  
  <pre><code>string connString = "Driver={Amazon Redshift (x86)};" +
              String.Format("Server={0};Database={1};" +
              "UID={2};PWD={3};Port={4};SSL=true;Sslmode=Require",
              RedShiftServer, RedShiftDBName, RedShiftUsername,RedShiftPassword, RedShiftPort);
  OdbcConnection conn = new OdbcConnection(connString);
  conn.Open();
  </code></pre>
  
  <p>But I am not able to connect to RedShift DB (Unable to Open the connection) after deployment to Lambda Function.</p>
  
  <p>I am getting Bellow Error.</p>
  
  <blockquote>
    <p>"Dependency unixODBC with minimum version 2.3.1 is required.
        Unable to load DLL 'libodbc.so.2': The specified module or one of its 
        dependencies could not be found.</p>
  </blockquote>
  
  <p>It seems some odbc issue, how to solve it ?</p>