MsSql: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
 
Line 20: Line 20:
</pre>
</pre>


Link missing library
Create a link for missing library
<pre>
<pre>
cd /usr/lib/x86_64-linux-gnu
cd /usr/lib/x86_64-linux-gnu
ln -s libssl.so libssl.so.10
ln -s libssl.so libssl.so.10
ln -s libcrypto.so libcrypto.so.10
ln -s libcrypto.so libcrypto.so.10
</pre>
Force the installation
<pre>
bash ./install.sh install --force
</pre>
Validate
<pre>
odbcinst -q -d -n "ODBC Driver 11 for SQL Server"
</pre>
</pre>

Latest revision as of 16:02, 19 June 2015

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"