Coda File System

Re: required libs list?

From: Anders Hammarquist <iko_at_cd.chalmers.se>
Date: Thu, 01 Apr 1999 14:20:37 +0200
> hi all,
> 
> just a curiosity, is there a list of required libs?
> i'm asking this because my readline 4.0 doesn't seem
> to work with coda 5.2 on my linux box with glibc 2.1.1pre
> + egcs 1.2
> 
> make[2]: Entering directory `/home/yashi/coda-5.2.0/coda-src/dir'
> gcc -fno-exceptions -o dirtest dirtest.o libcodadir.a  ../util/libutil.a /home/yashi/coda-5.2.0/rvm-src/rds/librds.a     /home/yashi/coda-5.2.0/rvm-src/seg/libseg.a                     /home/yashi/coda-5.2.0/rvm-src/rvmlwp/librvmlwp.a  /home/yashi/coda-5.2.0/lib-src/mlwp/liboldlwp.a                         /home/yashi/coda-5.2.0/lib-src/base/libbase.a -lreadline   
> /usr/lib/libreadline.a(display.o): In function `rl_redisplay':
> display.o(.text+0xd32): undefined reference to `tputs'
> /usr/lib/libreadline.a(display.o): In function `update_line':
> display.o(.text+0x1492): undefined reference to `tputs'
> ...(it keeps going)...

readline needs ncurses. If you were linking dynamically, readline would know this. Linking statically, as you are doing, it doesn't know.

Regards,
/Anders
-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist                                  | iko_at_cd.chalmers.se
Physics student                                     | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87
Received on 1999-04-01 07:22:34