Skip to Content.
Sympa Menu

freetds - Re: [freetds] Compiling sqsh-2.1.3 against freetds-0.63 on RH9

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <bill_d_thompson AT ml.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Compiling sqsh-2.1.3 against freetds-0.63 on RH9
  • Date: Wed, 12 Oct 2005 14:22:28 +0100

Yes, I have compiled sqsh 2.1.3 against freetds v0.63

looks like you have a makefile issue...

I have changed the sqsh Makefile in <sqsh_home>/src, thus:

1) change to point to top level freetds install directory
SYBASE_OCOS = <...>/freetds,v0.63

2) change link library directives:

SYBASE_LIBS = -lct -ltds -lnsl -ldl -lm


HTH,

Bill









-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Reuben Pearse
Sent: 12 October 2005 14:06
To: freetds AT lists.ibiblio.org
Subject: [freetds] Compiling sqsh-2.1.3 against freetds-0.63 on RH9


Hi all,

I am having problems compiling sqsh-2.1.3 against freetds-0.63 on a
Redhat9 Linux server. I managed to compile freetds-0.63 OK and I have
verified that it works by using tsql utility to query one of our SQL
Servers. However, I now want to get Sqsh working. The "configure" script

runs OK, but when running "make" I get the errors:

cmd_bcp.o(.text+0x3fb): In function `cmd_bcp':
/home/psl/sqsh/sqsh-2.1.3/src/cmd_bcp.c:927: undefined reference to
`cs_loc_drop'
cmd_bcp.o(.text+0x40b):/home/psl/sqsh/sqsh-2.1.3/src/cmd_bcp.c:922:
undefined reference to `ct_close'
cmd_bcp.o(.text+0x414):/home/psl/sqsh/sqsh-2.1.3/src/cmd_bcp.c:923:
undefined reference to `ct_con_drop'
cmd_bcp.o(.text+0x422):/home/psl/sqsh/sqsh-2.1.3/src/cmd_bcp.c:917:
undefined reference to `blk_drop'

Has anyone managed to compile Sqsh against freetds-0.63 before?

Thanks in advance

--
Reuben Pearse
Principal Technical Consultant
reuben AT presence-systems.com


_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Click here for important additional terms relating to this
e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page