How to compile SQSH with FreeTDS .60?

James K. Lowden jklowden at speakeasy.org
Mon Oct 7 22:57:54 EDT 2002


Hello again Jay, 

On Mon, 07 Oct 2002 16:27:59 -0700, "Jay Sauls" <jaysauls at hotmail.com>
wrote:
> out of desperation, I set
> 
> export FREETDSCONF=/usr/local/etc/freetds.conf

That shouldn't happen.  You shouldn't *need* FREETDSCONF, and its absence
should result in a segment violation when you use TDSDUMPCONFIG.  

Could you please apply the attached patch and see if you still get a
segfault when FREETDSCONF is not set?  It might fix the segfault, and it
will make the TDSDUMPCONFIG more vocal.  

This line is very peculiar in your log:

2002-10-07 16:23:17 Found conf file in  (from $FREETDSCONF). Reading
section jayssql.
                                      ^^ in what?  

That contents of FREETDSCONF should appear after "Found conf file in".  My
patch (already committed in cvs) should make that explicit.  

I have attached the TDSDUMPCONFIG output, too, for the following
successful connection:

	sqsh -S JDBC -U guest -P sybase

That's *not* a domain login of course, but can you reproduce it?  I'd like
to make sure we're chasing:

*	domain login
*	from sqsh

and that every other combination works.  

Gads.  I really should take up knitting or something.  

--jkl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetds.diff
Type: application/octet-stream
Size: 2021 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20021007/020b46ff/freetds.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tdsdumpconfig
Type: application/octet-stream
Size: 1888 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20021007/020b46ff/tdsdumpconfig.obj


More information about the FreeTDS mailing list