"kanchana" <pkkanchana(at)gmx(dot)net> writes:
> i thinkproblem is in readline. (i have tried with hp-ux readline (from depot
> too), same probelm.
Giles Lean tracked down this issue a week or three back. IIRC the
conclusion was that libreadline needed some source tweaks to work
properly as a shared library on HPUX --- it doesn't establish a proper
dependency on libcurses, or something like that. Check the PG list
archives for details.
regards, tom lane