Re: Problems Connecting Debian --> MSSQL through odbc

Jaap van Arragon <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <C694E252.236F6%[email protected]>
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" <[email protected]> wrote:

> On Fri, 17 Jul 2009 10:35:56 -0400
> [email protected] 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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.