Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC
Date
Msg-id 5771.1265125117@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC  ("" <christophe.moulin@progimed.fr>)
Responses Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC  (Chris Travers <chris@metatrontech.com>)
List pgsql-bugs
"" <christophe.moulin@progimed.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

pgsql-bugs by date:

Previous
From: ""
Date:
Subject: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC
Next
From: Chris Travers
Date:
Subject: Re: BUG #5306: psql: symbol lookup error: /usr/lib/libreadline.so.5: undefined symbol: BC