freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Steve Langasek <vorlon AT netexpress.net>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] FreeTDS 0.61 Compile Problem
- Date: Mon, 14 Jul 2003 23:40:01 -0500
[resent, as the list software seems to have taken a dislike to
PGP-signed messages recently.]
On Sun, Jul 13, 2003 at 11:30:41AM -0400, James K. Lowden wrote:
> On Sun, 13 Jul 2003 01:11:04 -0700, "Steve Murphree" <smurph AT smcomp.com>
> wrote:
> > Configure needs to do more checking for readline dependencies
> Could you please elaborate? I thought readline was readline was
> readline. We found it, we link it, we use it, I thought. Here, we
> found it alright, but evidently it's not exporting what we expect.
> What's going on? It's not like Slackware 8.1 is some exotic distro.
For this error to occur on Slackware, the readline library must be
mislinked, failing to declare a sharedlib dependency on libncurses.
However, although this is a Slackware bug in this particular instance,
there are other platforms where the linker can't find library
interdependency information; for these platforms, FreeTDS would need to
explicitly pass -lncurses on the linker line, /after/ -lreadline, to
ensure that all symbols are correctly resolved.
--
Steve Langasek
postmodern programmer
> > From: <io AT absolutek.ca>
> > Sent: Saturday, July 12, 2003 8:45 PM
> ...
> > > checking for readline in -lreadline... yes
> ...
> > > gcc -O3 -mpentiumpro -o .libs/tsql tsql.o -lncurses -lreadline
> > > ../tds/.libs/libtds.so -lnsl /usr/local/lib/libiconv.so -Wl,--rpath
> > > -Wl,/usr/local/lib
> > > /usr/local/lib/libreadline.so: undefined reference to `tgetnum'
> > > /usr/local/lib/libreadline.so: undefined reference to `tgoto'
> > > /usr/local/lib/libreadline.so: undefined reference to `tgetflag'
> > > /usr/local/lib/libreadline.so: undefined reference to `BC'
> > > /usr/local/lib/libreadline.so: undefined reference to `tputs'
> > > /usr/local/lib/libreadline.so: undefined reference to `PC'
> > > /usr/local/lib/libreadline.so: undefined reference to `tgetent'
> > > /usr/local/lib/libreadline.so: undefined reference to `UP'
> > > /usr/local/lib/libreadline.so: undefined reference to `tgetstr'
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [tsql] Error 1
> > > make[2]: Leaving directory
> > > `/home/aiden/downloads/website/freetds-0.61/src/apps'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > `/home/aiden/downloads/website/freetds-0.61/src'
> > > make: *** [all-recursive] Error 1
> > >
> > >
> > > I tried using both readline v4.1, and then v4.3. Both had the same
> > > problem. I'm running Slackware 8.1, with gcc 2.95.3 on linux 2.4.20.
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
-
[freetds] FreeTDS 0.61 Compile Problem,
io, 07/12/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
- <Possible follow-up(s)>
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Langasek, 07/15/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Langasek, 07/15/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Chase Hargraves, 07/15/2003
- RE: [freetds] FreeTDS 0.61 Compile Problem, Lowden, James K, 07/16/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
Archive powered by MHonArc 2.6.24.