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

From: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: bruno(at)ioda-net(dot)ch, pgsql-pkg-yum(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18833: libpq.so doesn't contain declared symbol in rpm --provides
Date: 2025-03-10 17:08:35
Message-ID: 202503101708.hmyugfg4rjpn@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-pkg-yum

On 2025-Mar-06, PG Bug reporting form wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18833
> Logged by: Bruno Friedmann
> Email address: bruno(at)ioda-net(dot)ch
> PostgreSQL version: 17.4
> Operating system: rhel 9.5
> Description:

It's been suggested that this belongs in the pgsql-pkg-yum mailing list.

> if you check the following
> ```
> rpm -q libpq5 --provides
> libpq >= 10.0
> libpq.so.5
> libpq.so.5()(64bit)
> libpq.so.5(RHPG_10)(64bit)
> libpq.so.5(RHPG_11)(64bit)
> libpq.so.5(RHPG_12)(64bit)
> libpq.so.5(RHPG_13)(64bit)
> libpq.so.5(RHPG_14)(64bit)
> libpq.so.5(RHPG_15)(64bit)
> libpq.so.5(RHPG_9.6)(64bit)
> libpq5 = 17.4-1PGDG.rhel9
> libpq5(x86-64) = 17.4-1PGDG.rhel9
> postgresql-libs >= 9.2
> ```
>
> You find that you are 100% similar (extended to certain version) to what is
> provided as operating system
> ```
> rpm -q libpq --provides
> libpq = 13.20-1.el9_5
> libpq(x86-64) = 13.20-1.el9_5
> libpq.so.5()(64bit)
> libpq.so.5(RHPG_10)(64bit)
> libpq.so.5(RHPG_12)(64bit)
> libpq.so.5(RHPG_13)(64bit)
> libpq.so.5(RHPG_9.6)(64bit)
> postgresql-libs = 13.20-1.el9_5
> ```
>
> This should allow a software build against rhel libpq-devel to be satisfied
> with pgdg packaged libpq
> but the following message appears like the following
> ```
> bareos-dir: /usr/pgsql-14/lib/libpq.so.5: no version information available
> (required by /usr/lib64/bareos/libbareossql.so.24)
> ```
>
> when you use strings on both library, pgdg doesn't contains the expected
> symbol
> pgdg
> ```
> strings /usr/lib64/libpq.so.5 | grep RHPG
> ```
> versus
> rhel 13.20
> ```
> strings /usr/lib64/libpq.so.5 | grep RHPG
> RHPG_9.6
> RHPG_10
> RHPG_12
> RHPG_13
> ```
>

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Linux transformó mi computadora, de una `máquina para hacer cosas',
en un aparato realmente entretenido, sobre el cual cada día aprendo
algo nuevo" (Jaime Salinas)

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2025-03-10 17:52:42 Re: Attribute of type record has wrong type error with MERGE ... WHEN NOT MATCHED BY SOURCE THEN DELETE
Previous Message Dean Rasheed 2025-03-10 15:11:16 Re: Attribute of type record has wrong type error with MERGE ... WHEN NOT MATCHED BY SOURCE THEN DELETE

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2025-03-11 02:21:13 Re: BUG #18833: libpq.so doesn't contain declared symbol in rpm --provides
Previous Message Devrim Gündüz 2025-03-07 20:24:10 Re: RHEL 10 Beta packages for arm64