Help!!! We installed the new mssql driver (https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools#a-idrhelainstall-tools-on-rhel-7) on RHEL 7 .. Can connect via sqlcmd without issues, but cannot connect via perl

odbcinst -j unixODBC 2.3.1 DRIVERS............: /etma/bin/conf/odbcinst.ini SYSTEM DATA SOURCES: /etma/bin/conf/odbc.ini FILE DATA SOURCES..: /etma/bin/conf/ODBCDataSources USER DATA SOURCES..: /home/etmadev/.odbc.ini SQLULEN Size.......: 8 SQLLEN Size........: 8 SQLSETPOSIROW Size.: 8

Using DBI ver 1.616 and DBD::ODBC 1.31getting this: '[unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.1.so.9.0' : file not found (SQL-01000)'

However, that driver is successfully installed.... Any pointers please?........ Thank you... We had no issues on RHEL5...+

2017-09-27 Athanasius added code and paragraph tags


In reply to connecting to mssql on rhel7 with new mssql driver by vcoderv2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.