Carlos Ojea Castro <carlosojea@leveltelecom.es> writes:
> I get this message:
> debian-ojea:/home/carlos# psql buques_db
> /usr/lib/postgresql/bin/psql: relocation error:
> /usr/local/lib/libreadline.so.4: undefined symbol: BC
>
> I made 'apt-get install postgresql', but it was an old version, so I
> purged it and then I compile and install 7.4.1 from source...
Did you upgrade readline since then? Because this sure looks like
readline's problem not ours.
The only thing I can think of is to rebuild Postgres and see if it works
better. (You might as well update to PG 7.4.3 while you're at it.)
regards, tom lane