Skip to Content.
Sympa Menu

freetds - RE: [freetds] SQSH2.1 compiles, but hangs & quits @ logon

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] SQSH2.1 compiles, but hangs & quits @ logon
  • Date: Wed, 24 Dec 2003 11:21:26 -0500

> From: Ron Creamer [mailto:ron AT pageworks.com]
> Sent: December 23, 2003 10:17 AM
>
> After compiling SQSH 2.1, and trying to run it with -H -U and -P
> parameters, it immediately displays the copyright notice,
> then hangs for
> 20 seconds and returns me to the shell prompt.
>
> tsql, given the same parameters, runs fine.
>
> I'm running the latest Fedora Core w/ all the updates. Downloaded the
> latest snapshot of freetds last night. Configured with:
> --prefix=/usr --exec-prefix=/usr --enable-msdblib --with-tdsver=7.0
^^^^^^^^^^^^^^^^

SQSH is written to Sybase's standard, not Microsoft's. I'm a little
surprised it even links to FreeTDS with msdblib enabled.


> I applied a patch credited to Gentoo to the src/config.h file
> after my I ran configure:

This is a sqsh patch, right? I don't see how it could do any harm, although
you could probably do without it.

> I went back and took the latest release version of freetds (from
> August), and I get the same result.

I run sqsh 2.1 routinely, as do others.

Try:

1. Configure without --enable-msdblib.
2. Double check that sqsh is linking to the right FreeTDS (with ldd).
3. Post a log, so we can see where it's giving up.
4. Run sqsh under gdb, and post a backtrace if it catches a signal.

HTH. Always happy to help a fellow sqsher.

--jkl


-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page