readline, library, not found and so on

From: boris(at)ebuero(dot)de
To: pgsql-general(at)postgresql(dot)org
Subject: readline, library, not found and so on
Date: 2003-07-20 20:57:13
Message-ID: 19715894.1058735473157.JavaMail.root@moeve
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 package by default on it's virtual but cheap RH boxes.

*winxx*
-Bo

--Ende der Nachricht--

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-07-20 22:05:07 Re: Function/trigger,....development documentation
Previous Message Francisco Figueiredo Jr. 2003-07-20 20:25:11 Is there support for output parameters?