Re: BUG #18833: libpq.so doesn't contain declared symbol in rpm --provides

Devrim Gündüz <devrim@gunduz.org>

From: Devrim Gündüz <devrim@gunduz.org>
To: bruno@ioda-net.ch, pgsql-pkg-yum@lists.postgresql.org
Cc: Álvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2025-03-11T02:21:13Z
Lists: pgsql-bugs
Hi,

On Mon, 2025-03-10 at 18:08 +0100, Álvaro Herrera wrote:
> This should allow a software build against rhel libpq-devel to be
> satisfied with pgdg packaged libpq

I don't think so. I think Red Hat adds a small patch to libpq package:

https://src.fedoraproject.org/rpms/libpq/blob/rawhide/f/libpq-12.1-symbol-versioning.patch

<rant>PGDG packages are PostgreSQL compatible. Red Hat packages are Red
Hat compatible.</rant>

> bareos-dir: /usr/pgsql-14/lib/libpq.so.5: no version information
> available (required by /usr/lib64/bareos/libbareossql.so.24)

That said, IIRC this message means bareos did not build their packages
against our libpq. 

-HTH

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR