Skip to content

Commit

Permalink
fix debian mssql/odbc setup docs for multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
rkitover committed Jun 5, 2012
1 parent 7d5810c commit a528045
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ L<DBIx::Class::Storage::DBI::MSSQL>.
sudo aptitude install tdsodbc libdbd-odbc-perl unixodbc
In case it is not already there put the following in C</etc/odbcinst.ini>:
In case it is not already there put the following (adjust for non-64bit arch) in
C</etc/odbcinst.ini>:
[FreeTDS]
Description = FreeTDS
Driver = /usr/lib/odbc/libtdsodbc.so
Setup = /usr/lib/odbc/libtdsS.so
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so
UsageCount = 1
Set your C<$dsn> in L<connect_info|DBIx::Class::Storage::DBI/connect_info> as follows:
Expand Down

0 comments on commit a528045

Please sign in to comment.