MsSql

From Objectif Client Inc
Revision as of 16:02, 19 June 2015 by Nicolas Rollin (talk | contribs) (→‎Installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Native Linux ODBC Driver

Installation

Download "Microsoft ODBC Driver 11 for SQL Server on Linux" at Technet Microsoft Choose Redhat 6 version.

Extract the Archive

tar xvzf msodbcsql-11.0.2270.0.tar.gz

Validate dependencies.

cd msodbcsql-11.0.2270.0
ldd ./lib64/libsqlncli-11.0.so.1720.0

Install libssl1.0.0 to get libssl and crypto library

apt-get install libssl1.0.0

Create a link for missing library

cd /usr/lib/x86_64-linux-gnu
ln -s libssl.so libssl.so.10
ln -s libcrypto.so libcrypto.so.10


Force the installation

bash ./install.sh install --force

Validate

odbcinst -q -d -n "ODBC Driver 11 for SQL Server"