Re: [ADMIN] readline missing on linux
From: Bruce Momjian It appears your readline needs -ltermcap, -lterminfo, or -lcurses to link properly. I think this happens when the readline library is not linked against those when it is created. --- Randolph Jones wrote: I am getting configure failures due to missing readline. I have redhat 9, 2.4.21, with readline and readline-devel 2.4.2 installed. I Thanks for your reply. I have termcap and ncurses installed. Do I need to install terminfo? How do I link them to readline? TIA rfjones ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])
Re: [ADMIN] readline missing in linux
Thanks to bruce momjian and tom lane, I installed ncurses-devel and all is well. Thanks so much rfjones ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
[ADMIN] readline missing on linux?
I am getting configure failures due to missing readline. I have redhat 9, 2.4.21, with readline and readline-devel 2.4.2 installed. I am trying to build 7.3.3 Below is part of my config.log Any help greatly appreciated TIA rfjones } configure:5786: result: no configure:5800: checking for readline configure:5837: gcc -o conftest -O2 conftest.c -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd 5 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `tgoto' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `BC' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `tputs' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `PC' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `tgetent' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `UP' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern C #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char readline (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern C # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { readline (); ; return 0; } configure:5837: gcc -o conftest -O2 conftest.c -ledit -lcrypt -lresolv -lnsl -ldl -lm -lbsd 5 /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status configure:5840: $? = 1 configure: failed program was: #line 5811 configure #include confdefs.h ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
[ADMIN] md5 authentication fails
I have pg 7.3.2 running on rh8 2.4.19. I have pg_hba.conf with line host testt user xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx md5 I can log on as user thru psql -h xxx.xxx.xxx.xxx testt pgsql asks for password, allows logon to testt I have a java program using user password that gets authentication failed for user user error username and passwd are the same as used in psql on another machine the java program works ok something is not set up right on the box that is failing I set up the good box by trial and error, hacking/stumbling around until something worked, then stagger on to the next debacle no clue to what the difference might be Any suggestions greatly appreciated TIA rfjones ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])