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

From: Matt Zinicola <mattzinicola(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Compilation of postgres 13.4+ source fails to find some of its own libraries
Date: 2022-01-01 06:58:33
Message-ID: CA+PS-Md4gMcM_dFr9jw2FLQFwThaY2uy+y33mBmvXALbtgF7bA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi all,

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... ?

Thanks much and Happy New Year!
-Matt

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Banck 2022-01-01 12:14:25 Re: Compilation of postgres 13.4+ source fails to find some of its own libraries
Previous Message Gogala, Mladen 2021-12-31 13:41:50 Re: GenSchemaSpy