public inbox for [email protected]  
help / color / mirror / Atom feed
RHEL8+9 libpcre2 dependencies in postgis packages
2+ messages / 2 participants
[nested] [flat]

* RHEL8+9 libpcre2 dependencies in postgis packages
@ 2025-11-12 07:30 Lorenz, Christopher <[email protected]>
  2025-11-12 12:27 ` Re: RHEL8+9 libpcre2 dependencies in postgis packages Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Lorenz, Christopher @ 2025-11-12 07:30 UTC (permalink / raw)
  To: [email protected] <[email protected]>

Hi,

on last update we got some errors updating postgis in RHEL8:

Problem 1: cannot install the best update candidate for package postgis31_13-3.1.12-10PGDG.rhel8.x86_64
- nothing provides libpcre2-8-0 needed by postgis31_13-3.1.12-13PGDG.rhel8.x86_64 from PostgreSQL_PostgreSQL13_-_RHEL_8_x86_64
Problem 2: cannot install the best update candidate for package postgis31_14-3.1.12-10PGDG.rhel8.x86_64
- nothing provides libpcre2-8-0 needed by postgis31_14-3.1.12-13PGDG.rhel8.x86_64 from PostgreSQL_PostgreSQL14_-_RHEL_8_x86_64

I've found that the dependencies changed from pcre to libpcre2-8-0:

$ rpm -qp /tmp/postgis31_13-3.1.12-13PGDG.rhel8.x86_64.rpm --requires | grep pcre
libpcre.so.1()(64bit)
libpcre2-8-0
$ rpm -qp /tmp/postgis31_13-3.1.12-10PGDG.rhel8.x86_64.rpm --requires | grep pcre
libpcre.so.1()(64bit)
pcre

The libraries libpcre2 are provided by pcre2 on RHEL8+9:

$ rpm -qf /usr/lib64/libpcre2-8.so.0
pcre2-10.32-3.el8_6.x86_64
$ rpm -qf /usr/lib64/libpcre.so.1
pcre-8.42-6.el8.x86_64

I've found the commit for postgis 3.1: https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commitdiff;h=a2e39ff2a23b5c925ff0fb08340c6a7f85313...
As I can see you use pcre2 only from RHEL10 upwards, but RHEL8 and RHEL9 also provides the library with package pcre2 .

Thanks and Regards,

Christopher Lorenz





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: RHEL8+9 libpcre2 dependencies in postgis packages
  2025-11-12 07:30 RHEL8+9 libpcre2 dependencies in postgis packages Lorenz, Christopher <[email protected]>
@ 2025-11-12 12:27 ` Devrim Gündüz <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim Gündüz @ 2025-11-12 12:27 UTC (permalink / raw)
  To: Lorenz, Christopher <[email protected]>; [email protected] <[email protected]>

Hi,

On Wed, 2025-11-12 at 07:30 +0000, Lorenz, Christopher wrote:
> on last update we got some errors updating postgis in RHEL8:
> 
> Problem 1: cannot install the best update candidate for package
> postgis31_13-3.1.12-10PGDG.rhel8.x86_64
> - nothing provides libpcre2-8-0 needed by postgis31_13-3.1.12-
> 13PGDG.rhel8.x86_64 from PostgreSQL_PostgreSQL13_-_RHEL_8_x86_64
> Problem 2: cannot install the best update candidate for package
> postgis31_14-3.1.12-10PGDG.rhel8.x86_64
> - nothing provides libpcre2-8-0 needed by postgis31_14-3.1.12-
> 13PGDG.rhel8.x86_64 from PostgreSQL_PostgreSQL14_-_RHEL_8_x86_64
> 

Ouch :(

> I've found that the dependencies changed from pcre to libpcre2-8-0:
> 
> $ rpm -qp /tmp/postgis31_13-3.1.12-13PGDG.rhel8.x86_64.rpm --requires
> | grep pcre
> libpcre.so.1()(64bit)
> libpcre2-8-0
> $ rpm -qp /tmp/postgis31_13-3.1.12-10PGDG.rhel8.x86_64.rpm --requires
> | grep pcre
> libpcre.so.1()(64bit)
> pcre
> 
> The libraries libpcre2 are provided by pcre2 on RHEL8+9:
> 
> $ rpm -qf /usr/lib64/libpcre2-8.so.0
> pcre2-10.32-3.el8_6.x86_64
> $ rpm -qf /usr/lib64/libpcre.so.1
> pcre-8.42-6.el8.x86_64
> 
> I've found the commit for postgis 3.1:
> https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commitdiff;h=a2e39ff2a23b5c925ff0fb08340c6a7f85313...
> As I can see you use pcre2 only from RHEL10 upwards, but RHEL8 and
> RHEL9 also provides the library with package pcre2 .

Thanks for the report!

That is right. Pushed fixes to git repository and also building the RPMs
now. I'll push them along with tomorrow's minor release updates.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org


Attachments:

  [application/pgp-signature] signature.asc (858B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-11-12 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-11-12 07:30 RHEL8+9 libpcre2 dependencies in postgis packages Lorenz, Christopher <[email protected]>
2025-11-12 12:27 ` Devrim Gündüz <[email protected]>

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