[freetds] RE: Cygwin / freeTDS / sqsh linking problem
mboldi at intrinsiq.com
Tue Apr 19 17:13:52 EDT 2005
Thanks!! Option 2 works !! GREAT !!
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of Lowden, James K
Sent: Tuesday, April 19, 2005 3:09 PM
To: TDS Development Group
Subject: RE: [freetds] RE: Cygwin / freeTDS / sqsh linking problem
> From: Mike Boldi [mailto:mboldi at intrinsiq.com]
> Sent: Tuesday, April 19, 2005 2:37 PM
> >> What happens if you remove "-ldl"? That library looks redundant.
> Bad things!!
> If either I remove -ldl (from the makefile) or link it (as you have) I
> Messages like :
> c:142: undefined
> ference to `_libiconv_close'
> c:144: undefined
> ference to `_libiconv_open'
> .c:147: undefine
> eference to `_libiconv_close'
> I see libiconv on my machine ...????....
> find /usr -name libiconv*
Oh, well, I'd say those are good things, actually. If libiconv is the
only problem, you have two paths:
1. If you don't really need libiconv -- you're OK with English or ISO
8859-1 -- reconfigure FreeTDS --without-libiconv. Then you won't try to
link it in; you'll be using the built-in replacement.
2. Link it to sqsh explicitly, something like -liconv. I imagine under
Cygwin the libiconv is GNU's, which FreeTDS supports.
> >> Here's what I have:
> >> $ (cd /usr/local/lib/; ls -l libdl*) |cut -b30-
> >> Aug 6 2002 libdl.a -> /usr/local/lib/libct.a
> >> I don't know where that symlink came from; maybe it's my own
> >> hack. I do know Sybase's Open Client (for which sqsh is written)
> >> distributes several libraries whose functions FreeTDS combines into
> >> libct.
> >> Hope that helps. Let us know how it goes.
> >> --jkl
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
above. If you are not the intended recipient, or an employee or agent
for delivering this message to the intended recipient, any review,
distribution or duplication of this communication is strictly prohibited. If
not the intended recipient, please contact the sender immediately by reply
and destroy all copies of the original message. Please note that we do not
account orders and/or instructions by e-mail, and therefore will not be
for carrying out such orders and/or instructions. If you, as the intended
of this message, the purpose of which is to inform and update our clients,
and consultants of developments relating to our services and products, would
like to receive further e-mail correspondence from the sender, please
"reply" to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas,
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
More information about the FreeTDS