From: Rafael Kitover Date: Tue, 5 Jun 2012 01:40:03 +0000 (-0400) Subject: fix debian mssql/odbc setup docs for multiarch X-Git-Tag: v0.08197~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a5280453bd7fc86157fb4a84a451bddc2c408bf7;p=dbsrgits%2FDBIx-Class.git fix debian mssql/odbc setup docs for multiarch --- diff --git a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm index 3aa9b9b..662acb4 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm @@ -36,12 +36,13 @@ L. sudo aptitude install tdsodbc libdbd-odbc-perl unixodbc -In case it is not already there put the following in C: +In case it is not already there put the following (adjust for non-64bit arch) in +C: [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 as follows: