Re: Compilation of postgres 13.4+ source fails to find some of its own libraries

From: Michael Banck <michael(dot)banck(at)credativ(dot)de>
To: Matt Zinicola <mattzinicola(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Compilation of postgres 13.4+ source fails to find some of its own libraries
Date: 2022-01-01 12:14:25
Message-ID: 61d045a2.1c69fb81.8bfe7.ffc0@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

On Sat, Jan 01, 2022 at 01:58:33AM -0500, Matt Zinicola wrote:
> I've been a user of PostgreSQL for many, many years now. I tend to
> compile from source, in /usr/local/src.. My current postgresql server is
> running Fedora 35. Beginning with Postgres 13.4 (and 14.0 and 14.1) the
> postgres compilation process has begun failing, complaining about several
> libraries (specifically libpgtypes.pc, libecpg.pc, libpq.pc and
> libecpg_compat.pc).
>
> Since all of these are contained witihin the source distribution itself,
> why is the make process unable to find them?
>
> I attempted adding them via a configuration option ( full configure
> invocation is ./configure
> --with-libraries=/usr/local/src/postgresql-13.4/src/interfaces/ecpg/ecpglib,/usr/local/src/postgresql-13.4/src/interfaces/ecpg/compatlib,/usr/local/src/postgresql-13.4/src/interfaces/libpq,/usr/local/src/postgresql-13.4/src/interfaces/ecpg/pgtypeslib),
> but it does not work.
>
> Apologies if I'm overlooking something "simple" here, I'm just a bit taken
> aback by why the compilation process suddenly as of 13.4has begun failing
> for this reason. Is this a mistake in one of the build scripts somewhere
> or... ?

1. Go back and try to build 13.3 using the same configure options, does
that still work?

2. Show us the actual build failures, "does not work" is not enough
information.

Michael

--
Michael Banck
Team Lead PostgreSQL
Project Manager
Tel.: +49 2166 9901-171
Mail: michael(dot)banck(at)credativ(dot)de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Management: Dr. Michael Meskes, Geoff Richardson, Peter Lilley

Our handling of personal data is subject to:
https://www.credativ.de/en/contact/privacy/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Matt Zinicola 2022-01-01 16:21:18 Re: Compilation of postgres 13.4+ source fails to find some of its own libraries
Previous Message Matt Zinicola 2022-01-01 06:58:33 Compilation of postgres 13.4+ source fails to find some of its own libraries