Patrice Durosay <patrice.durosay@cgm.cnrs-gif.fr> writes:
> I reinstalled both readline & postgresql without more success.
> It seem to be there :
> bash-2.03# ldd /usr/local/pgsql/bin/postgres
> libz.so => /usr/lib/libz.so
> libreadline.so.4 => /usr/local/lib/libreadline.so.4
That's a good start, but now look to see what libreadline.so depends on.
Also, if you are depending on LD_LIBRARY_PATH to make the linker find
these libraries, then make sure that the postgres account's .profile
sets up LD_LIBRARY_PATH the same way. Remember that "su -" throws away
your environment and adopts the login environment of the target account.
regards, tom lane