"Stergios Zissakis" <szis(at)intranet(dot)gr> writes:
> Modify your .profile or the file your ENV variable points to, to include the
> right path LD_LIBRARY_PATH.
Specifically, I'd bet that libreadline is in /usr/local/lib, which gcc
will search by default during linking (if it was built with default
configuration). If you don't have the dynamic linker configured to use
the same search path as gcc, you're in for lots of trouble.
regards, tom lane