Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problems Connecting Debian --> MSSQL through odbc

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jaap van Arragon <j.vanarragon AT lukkien.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problems Connecting Debian --> MSSQL through odbc
  • Date: Tue, 28 Jul 2009 17:13:54 +0200

Hello.

I've tested the new revision and it says at the end.

+ CMD='/^\[FreeTDS\]/,/^[[:space:]]*$/ { s/^/ /; p; }'
++ sed -ne '/^\[FreeTDS\]/,/^[[:space:]]*$/ { s/^/ /; p; }'
/etc/odbcinst.ini
++ grep -Ei '^[[:space:]]*driver[[:space:]]*='
+ DRIVER_LINE=' Driver = /usr/lib/odbc/libtdsodbc.so'
+ '[' -z ' Driver = /usr/lib/odbc/libtdsodbc.so' ']'
+ echo ' found driver line: " Driver =
/usr/lib/odbc/libtdsodbc.so"'
found driver line: " Driver = /usr/lib/odbc/libtdsodbc.so"
++ echo Driver = /usr/lib/odbc/libtdsodbc.so
++ awk '{print $3}'
+ DRIVER=/usr/lib/odbc/libtdsodbc.so
+ '[' -z /usr/lib/odbc/libtdsodbc.so ']'
++ basename /etc/odbcinst.ini
+ echo ' found driver /usr/lib/odbc/libtdsodbc.so for [FreeTDS] in
odbcinst.ini'
found driver /usr/lib/odbc/libtdsodbc.so for [FreeTDS] in odbcinst.ini
+ '[' -z /usr/lib/odbc/libtdsodbc.so ']'
+ '[' -x /usr/lib/odbc/libtdsodbc.so ']'
+ echo '/usr/lib/odbc/libtdsodbc.so is not an executable file'
/usr/lib/odbc/libtdsodbc.so is not an executable file
++ basename ./osqlscript.sh
+ echo 'osqlscript.sh: error: no driver found for SBGROEP'
osqlscript.sh: error: no driver found for SBGROEP
+ exit 1

In the script it says that its finding the driver but at the end the driver
cannot be found?

Anyone?


On 7/17/09 11:32 PM, "Michael Higgins" <linux AT evolone.org> wrote:

> On Fri, 17 Jul 2009 10:35:56 -0400
> jklowden AT schemamania.org wrote:
>
>> On Fri, Jul 17, 2009 at 01:28:55PM +0200, Jaap van Arragon wrote:
>>>
>>> If you want me to test more OSQL functionality I gladly want to
>>> help!
>>
>>
>> http://freetds.cvs.sourceforge.net/viewvc/*checkout*/freetds/freetds/src/apps
>> /osql?revision=1.11
>
> Just checked.. it now "works for me" as well, FWIW. Very cool utility.
>
> Thanks!
>
> Cheers,






Archive powered by MHonArc 2.6.24.

Top of Page