Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "" <christophe(dot)moulin(at)progimed(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC
Date: 2010-02-02 15:38:37
Message-ID: 5771.1265125117@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"" <christophe(dot)moulin(at)progimed(dot)fr> writes:
> I made an installation of Postgres on a redhat machine after compiling
> sources on a redhat machine. Everything is OK.
> When i install Postgres on a debian machine, i get an error when using psql
> : "psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol:
> BC"

> If i compile sources on debian-machine, psql does not work on a redhat
> machine. Same error message.

This is not a bug. They're two different platforms and you shouldn't
expect compiled executables to be portable between them.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Isaac Morland 2010-02-02 16:45:04 Warnings building 8.5alpha3 on Solaris 10
Previous Message Igor Lasic 2010-02-02 15:08:37 BUG #5307: Crash in AllocSetAlloc