[freetds] FreeTDS 0.61 Compile Problem

James K. Lowden jklowden at schemamania.org
Sun Jul 13 12:30:41 EDT 2003


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 

Steve, 

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.  

Thanks, 

--jkl

> 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.


More information about the FreeTDS mailing list