Re: BUG #18581: psql symbol append_history not found when quitting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rjhb(at)bb-c(dot)de
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18581: psql symbol append_history not found when quitting
Date: 2024-08-13 18:23:25
Message-ID: 47695.1723573405@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> When leaving a psql session via \q in 15.8 (which I built today under Oracle
> Solaris 11.4), I get:
> ld.so.1: psql: fatal: relocation error: file
> /opt/postgres/15-pgdg/bin/64/psql: symbol append_history: referenced symbol
> not found
> Killed

Hmmm...

> Isn't the a "pg_" missing on line 462?

No. That's intending to call the readline function append_history.
That call has been there since 2009. I'm not sure what changed
between your 15.6 and 15.8 builds, but that wasn't it.

However, that call is only compiled if HAVE_APPEND_HISTORY is
defined, which indicates that configure successfully probed
for existence of the function. Maybe you need to take a closer
look at what configure did?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomas Vondra 2024-08-13 18:31:54 Re: FDW INSERT batching can change behavior
Previous Message Alvaro Herrera from 2ndQuadrant 2024-08-13 18:18:58 Re: BUG #18559: Crash after detaching a partition concurrently from another session