freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Casey Boardman <cboardman AT batterymarch.com>
- To: "freetds AT lists.ibiblio.org" <freetds AT lists.ibiblio.org>
- Subject: [freetds] Can't make SQSH 2.1.7 with freetds 0.91
- Date: Tue, 20 Sep 2011 15:17:21 -0400
Hi-
I am having trouble building sqsh against freetds and I figured I should ask
on this list as well as on
https://sourceforge.net/projects/sqsh/forums/forum/365924/topic/4716627.
I've installed Freetds 0.91 from sunfreeware.com on Solaris 10. I've
confirmed the installation as noted in Chapter 9 of the user guide.
Following the sqsh notes from sqsh.org, I've set the SYBASE environment
variable to /usr/local/freetds and run the configure script.
I've checked the Makefile, it seems to be right given what I've read.
When I run make, I get(after building a bunch of stuff):
gcc -L/usr/local/freetds/lib -L/usr/local/lib cmd_alias.o cmd_bcp.o cmd_buf.o
cmd_connect.o cmd_do.o cmd_echo.o cmd_exit.o cmd_for.o cmd_func.o cmd_go.o
cmd_help.o cmd_history.o cmd_if.o cmd_input.o cmd_jobs.o cmd_kill.o
cmd_lock.o cmd_loop.o cmd_misc.o cmd_read.o cmd_reconnect.o cmd_redraw.o
cmd_reset.o cmd_return.o cmd_rpc.o cmd_set.o cmd_shell.o cmd_show.o
cmd_sleep.o cmd_wait.o cmd_warranty.o cmd_while.o var_ctlib.o var_date.o
var_debug.o var_dsp.o var_hist.o var_misc.o var_passwd.o var_readline.o
var_thresh.o dsp.o dsp_bcp.o dsp_csv.o dsp_conv.o dsp_desc.o dsp_horiz.o
dsp_html.o dsp_meta.o dsp_none.o dsp_out.o dsp_pretty.o dsp_vert.o dsp_x.o
sqsh_alias.o sqsh_args.o sqsh_avl.o sqsh_buf.o sqsh_cmd.o sqsh_compat.o
sqsh_ctx.o sqsh_debug.o sqsh_env.o sqsh_error.o sqsh_expand.o sqsh_fd.o
sqsh_filter.o sqsh_fork.o sqsh_func.o sqsh_getopt.o sqsh_global.o
sqsh_history.o sqsh_init.o sqsh_job.o sqsh_readline.o sqsh_sig.o
sqsh_sigcld.o sqsh_stdin.o sqsh_strchr.o sqsh_tok.o sqsh_varbuf.o sqsh_main.o
-lct -ltds -lnsl -ldl -lm -lreadline -lcurses -o sqsh
ld: warning: global symbol `_END_' has non-global binding:
(file /usr/local/freetds/lib/libct.so value=LOCL);
ld: warning: global symbol `_START_' has non-global binding:
(file /usr/local/freetds/lib/libct.so value=LOCL);
ld: fatal: file /usr/local/freetds/lib/libtds.a: unknown file type
ld: fatal: File processing errors. No output written to sqsh
collect2: ld returned 1 exit status
make[1]: *** [sqsh] Error 1
make[1]: Leaving directory `/opt/BFMIfiles/src/sqsh-2.1.7/src'
make: *** [build-subdirs] Error 2
Is the error related to this:
http://www.freetds.org/faq.html#where.is.libtds.so?
I'm out of ideas; any help would be greatly appreciated.
Thanks.
-Casey
This message is intended for the addressee only and may contain privileged or
confidential information. Unless you are the intended recipient, you may not
use, copy or disclose to anyone any information contained in this message. If
you have received this message in error, please notify the author by replying
to this message and then kindly delete the message. Thank you.
>From jklowden AT freetds.org Tue Sep 20 22:33:15 2011
Return-Path: <jklowden AT freetds.org>
X-Original-To: freetds AT lists.ibiblio.org
Delivered-To: freetds AT lists.ibiblio.org
Received: by lists.ibiblio.org (Postfix, from userid 20217)
id 2B077E9864; Tue, 20 Sep 2011 22:33:15 -0400 (EDT)
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
mailman1.ibiblio.org
X-Spam-Level:
X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC
autolearn=no version=3.2.5
Received: from oak.schemamania.org (dsl254-083-208.nyc1.dsl.speakeasy.net
[216.254.83.208])
by lists.ibiblio.org (Postfix) with ESMTP id 85549E97E8
for <freetds AT lists.ibiblio.org>; Tue, 20 Sep 2011 22:33:14 -0400 (EDT)
Received: from oak.schemamania.org (localhost [IPv6:::1])
by oak.schemamania.org (Postfix) with SMTP id 5530E30E2094
for <freetds AT lists.ibiblio.org>; Tue, 20 Sep 2011 22:33:13 -0400 (EDT)
Date: Tue, 20 Sep 2011 22:33:13 -0400
From: "James K. Lowden" <jklowden AT freetds.org>
To: freetds AT lists.ibiblio.org
Message-Id: <20110920223313.6d253da9.jklowden AT freetds.org>
In-Reply-To:
<833E9AA56926514AB3B3A4DA29913556401CDE64 AT bfm-exchange2.batterymarch.com>
References:
<833E9AA56926514AB3B3A4DA29913556401CDE64 AT bfm-exchange2.batterymarch.com>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64--netbsd)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91
X-BeenThere: freetds AT lists.ibiblio.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
List-Id: FreeTDS Development Group <freetds.lists.ibiblio.org>
List-Unsubscribe: <http://lists.ibiblio.org/mailman/listinfo/freetds>,
<mailto:freetds-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/freetds>
List-Post: <mailto:freetds AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/freetds>,
<mailto:freetds-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Sep 2011 02:33:15 -0000
On Tue, 20 Sep 2011 15:17:21 -0400
Casey Boardman <cboardman AT batterymarch.com> wrote:
> I've checked the Makefile, it seems to be right given what I've read.
>
> When I run make, I get(after building a bunch of stuff):
> gcc -L/usr/local/freetds/lib -L/usr/local/lib cmd_alias.o cmd_bcp.o
...
> sqsh_strchr.o sqsh_tok.o sqsh_var buf.o sqsh_main.o
> -lct -ltds -lnsl
^^^^^ remove that
> -ldl -lm -lreadline -lcurses -o sqsh
...
> fatal: file /usr/local/freetds/lib/libtds.a: unknown file type
Just a slight tweak to the Makefile: there is no libtds.a and no need
for it. Everything you need should be in libct.so.
If you delete -ltds from the the link command line, that outta do it.
HTH.
--jkl
-
[freetds] Can't make SQSH 2.1.7 with freetds 0.91,
Casey Boardman, 09/20/2011
-
Message not available
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
Casey Boardman, 09/21/2011
- Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91, Konrad J Hambrick, 09/21/2011
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
jklowden, 09/21/2011
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
Casey Boardman, 09/21/2011
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
jklowden, 09/21/2011
- Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91, Casey Boardman, 09/21/2011
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
jklowden, 09/21/2011
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
Casey Boardman, 09/21/2011
-
Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91,
Casey Boardman, 09/21/2011
-
Message not available
Archive powered by MHonArc 2.6.24.