Thread: readline, library, not found and so on

readline, library, not found and so on

From
boris@ebuero.de
Date:
Hi !!

It took long time to figure out what do to in this case:

checking for library containing fdatasync... none required
checking for shmget in -lcygipc... no
checking for readline... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

config.log:

configure:5786: result: no
configure:5800: checking for readline
configure:5837: gcc -o conftest -O2   -I/usr/include   -L/usr/lib conftest.c -lr
eadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd  >&5
/usr/lib/libreadline.so: undefined reference to `tgetnum'
/usr/lib/libreadline.so: undefined reference to `tgoto'
/usr/lib/libreadline.so: undefined reference to `tgetflag'
/usr/lib/libreadline.so: undefined reference to `BC'
/usr/lib/libreadline.so: undefined reference to `tputs'
/usr/lib/libreadline.so: undefined reference to `PC'
/usr/lib/libreadline.so: undefined reference to `tgetent'
/usr/lib/libreadline.so: undefined reference to `UP'
/usr/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
configure:5840: $? = 1

...


After compiling and installing a lot of issues of readline, readline-dev and so on I installed


libtermcap-devel


and everything went fine !!!
I thing that is going to become a very common problem because a german provider of so called "vserver"s don't has this
packageby default on it's virtual but cheap RH boxes. 


*winxx*
-Bo

--Ende der Nachricht--