public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruno Friedmann <[email protected]>
To: [email protected]
To: Devrim Gündüz <[email protected]>
Cc: Álvaro Herrera <[email protected]>
Subject:  Re: BUG #18833: libpq.so doesn't contain declared symbol in rpm --provides
Date: Tue, 11 Mar 2025 09:23:10 +0100
Message-ID: <2082217.Jadu78ljVU@x-wing> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

On mardi, 11 mars 2025 03.21:13 h heure normale d’Europe centrale Devrim 
Gündüz wrote:
> 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-ve
> rsioning.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,

Here the situation, if I didn't explain it correctly.

We (Bareos dev's team) build our software on what's distributed by the OS 
editor. which means for RHEL9 libpq5-devel 13.20 (rhel)

From time to time people want (for good reasons :-) ) use pgdg binaries,

if you go that way libpq from pgdg is installed and as the rpm provides all RH 
symbol you will get only this.

The problem is: if the rpm provides the symbol the pgdg libpq build is not 
providing them. As such any software that try to use that "pseudo" compatible 
lib doesn't find the searched symbol and emit in the least worse case a 
warning.

I (we) believe that the patch now included in fedora, is the way to go, if 
100% ABI compatible is still a moto for pgdg.

Please no offense on that, it's just really better for either consumer of pgdg 
software in redhat/rpm world whatever they are: software editor, end users.

Regards.

-- 
Bruno Friedmann
 Ioda-Net Sàrl www.ioda-net.ch
   expertise en open-source

 GPG KEY: E4720D8715B696B4 
 irc: tigerfoot
Computing freedom with openSUSE Tumbleweed - 20250307
Linux 6.13.5-1-default x86_64 GNU/Linux, nvidia: 
 ,   , Plasma: 6.3.2, kmail2 6.3.3 (24.12.3)


Attachments:

  [application/pgp-signature] signature.asc (833B, 3-signature.asc)
  download

view thread (15+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re:  Re: BUG #18833: libpq.so doesn't contain declared symbol in rpm --provides
  In-Reply-To: <2082217.Jadu78ljVU@x-wing>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox