<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error in Libname staement in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-Libname-staement/m-p/404272#M10701</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was&amp;nbsp;trying to connect to the Redshift database and have installed the necessary drivers that needs to be in place.&lt;/P&gt;&lt;P&gt;Also provided all the connection details in the odbc.ini file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try executing the libname statement in SAS EG I&amp;nbsp; get the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME bluem ODBC DSN='sasredshift' user=it_market_user password=XXXXXX schema=pub_glbl;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI error trying to establish connection: [unixODBC][Driver Manager]Can't open lib&lt;BR /&gt;'/opt/amazon/redshiftodbc/lib/64/libamazonredshiftodbc64.so' : file not found&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the same libname statement runs fine when run from the command line (Linux OS ). I am&amp;nbsp;also able to list the contents of one of the tables in the schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Libref BLUEM was successfully assigned as follows:&lt;BR /&gt;Engine: ODBC&lt;BR /&gt;Physical Name: sasredshift&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could I be missng here?&lt;/P&gt;</description>
    <pubDate>Sun, 15 Oct 2017 05:40:02 GMT</pubDate>
    <dc:creator>Survivindahel</dc:creator>
    <dc:date>2017-10-15T05:40:02Z</dc:date>
    <item>
      <title>Error in Libname staement</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-Libname-staement/m-p/404272#M10701</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was&amp;nbsp;trying to connect to the Redshift database and have installed the necessary drivers that needs to be in place.&lt;/P&gt;&lt;P&gt;Also provided all the connection details in the odbc.ini file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try executing the libname statement in SAS EG I&amp;nbsp; get the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME bluem ODBC DSN='sasredshift' user=it_market_user password=XXXXXX schema=pub_glbl;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI error trying to establish connection: [unixODBC][Driver Manager]Can't open lib&lt;BR /&gt;'/opt/amazon/redshiftodbc/lib/64/libamazonredshiftodbc64.so' : file not found&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the same libname statement runs fine when run from the command line (Linux OS ). I am&amp;nbsp;also able to list the contents of one of the tables in the schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Libref BLUEM was successfully assigned as follows:&lt;BR /&gt;Engine: ODBC&lt;BR /&gt;Physical Name: sasredshift&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could I be missng here?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 05:40:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-Libname-staement/m-p/404272#M10701</guid>
      <dc:creator>Survivindahel</dc:creator>
      <dc:date>2017-10-15T05:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Libname staement</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-Libname-staement/m-p/404275#M10702</link>
      <description>&lt;P&gt;Run&lt;/P&gt;
&lt;PRE&gt;set&lt;/PRE&gt;
&lt;P&gt;from the commandline and look for redshift-specific environment variables and values, especially in PATH and LIBPATH.&lt;/P&gt;
&lt;P&gt;Then set these in the WorkspaceServer_usermods.sh file of your workspace server (most probably SASApp).&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 05:57:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-Libname-staement/m-p/404275#M10702</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-15T05:57:59Z</dc:date>
    </item>
  </channel>
</rss>

