[freetds] Error building freetds-0.62.1 on SunOS 5.6 etc.
Jens R. Victorin
jens.xr.victorin at ericsson.com
Fri Jan 30 07:40:10 EST 2004
I've found a problem with freetds (tsql to be specific) and a workaround
that I can live with... but as always any input would be appreciated.
When building freetds-0.62.1 on SunOS 5.6 with;
/configure --prefix=$HOME --enable-msdblib
--enable-sybase-compat
make and make install completes without any complaints but tsql coredump
with;
./bin/tsql -S <$SERVER> -U <$USER>
locale is "en_US"
locale charset is "ISO8859-1"
Password:
Assertion failed: 0, file iconv.c, line 338
Abort(coredump)
I've tried both LANG=C and LANG=en_us with the same result.
Following a "make clean" and;
./configure --prefix=$HOME --enable-msdblib
--enable-sybase-compat --disable-libiconv
make fails with;
sh: test: argument expected
*** Error code 1
make: Fatal error: Command failed for target
`doc/freetds-0.62.1/reference/index.html'
Current working directory <$HOME>/freetds-0.62.1/doc
*** Error code 1
make install then fails with;
*** Error code 2
make: Fatal error: Command failed for target `dblib.api.sgml'
Current working directory <$HOME>/freetds-0.62.1/doc
*** Error code 1
make: Fatal error: Command failed for target
`doc/freetds-0.62.1/userguide/index.htm'
Current working directory <$HOME>/freetds-0.62.1/doc
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
However I can connect to a MS SQL 2000 server with tsql... but not to a
Sybase Adaptive Server Enterprise 12.5. I've tried with tds versions 5.0
and 6.0 but NOT 4.2 according to the README file.
./bin/tsql -S <$MSSERVER> -U <$USER> -I $HOME/etc/freetds.conf
locale is "en_US"
locale charset is "ISO8859-1"
Password:
Msg 5703, Level 0, State 1, Server <$MSSERVER>, Line 0
Changed language setting to us_english.
1> select @@version
2> go
Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Enterprise Edition on Windows NT 4.0 (Build 1381:
Service Pack 6)
1> exit
./bin/tsql -S <$SYBSERVER> -U <$USER> -I $HOME/etc/freetds.conf
locale is "en_US"
locale charset is "ISO8859-1"
Password: <PASSWORD>
Msg 4002, Level 14, State 1, Server <$SYBSERVER>, Line 0
Login failed.
Msg 20014, Level 9, State 0, Server OpenClient, Line 0
Login incorrect.
There was a problem connecting to the server
Connecting with sybase isql to a sybase server will of course work!
/Jens
More information about the FreeTDS
mailing list