Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n3dHO-0007d0-JV for pgsql-admin@arkaria.postgresql.org; Sat, 01 Jan 2022 12:14:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n3dHM-0006Sl-BE for pgsql-admin@arkaria.postgresql.org; Sat, 01 Jan 2022 12:14:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n3dHL-0006Sc-RA for pgsql-admin@lists.postgresql.org; Sat, 01 Jan 2022 12:14:31 +0000 Received: from mail-wr1-f53.google.com ([209.85.221.53]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n3dHI-0006l1-KK for pgsql-admin@postgresql.org; Sat, 01 Jan 2022 12:14:30 +0000 Received: by mail-wr1-f53.google.com with SMTP id o3so2139411wrh.10 for ; Sat, 01 Jan 2022 04:14:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=66peIjB8sT8YwIs6PvK3SI2evNcGm2EtlXai7Rpo37U=; b=XtdUmdaZJTzVUMFL17OZVPNL8PkBYA+kZLtFqInLCVEWT4Lz6SXAEX2g+SYJhEPkNY jOEGLqZHv+y46ry7J85aWy0rDpolYKZB90UXOgbizkedgeqXRY9pjHOZIN0neerbtsaI HlreQ1q8hQk/hdkI0lNq0iadgXvkvoD/UVaKVFk0InABFgTPkNeeTHd2+CDJb12aIagV keSlcCbAUpAd6VSM7niXo2BKFWfCUoRjV6vDlX3NDyRt93Vbr+RCLro/kayUVkOSM4/o Nx4tYO3ZX/BhtBsNemMuH/pDWd0nkGguO7EbQUtbStrFB9QiqN57P0iOXuTtIabLtWl8 /cLg== X-Gm-Message-State: AOAM532U7Bl8F98tmuBvqb/tVqX4kK+0u/uKWPDC3OOwyrVNg+4lWA1b eucS3d0CzBBsPamiZHXZ9bM= X-Google-Smtp-Source: ABdhPJwQLseOdXGPxTjkfPCyyeM9JMSBiUZJDI5zXyD/URe9aSWxUj4LRDTRRnPGVazJqamthvkOzA== X-Received: by 2002:adf:aa9a:: with SMTP id h26mr31564761wrc.437.1641039267149; Sat, 01 Jan 2022 04:14:27 -0800 (PST) Received: from lightning.caipicrew.dd-dns.de ([2001:a61:3b05:f201:ad43:9690:63e7:a0e4]) by smtp.gmail.com with ESMTPSA id o10sm33592201wrc.55.2022.01.01.04.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 04:14:26 -0800 (PST) Message-ID: <61d045a2.1c69fb81.8bfe7.ffc0@mx.google.com> X-Google-Original-Message-ID: <20220101121425.GR32283@caipicrew.dd-dns.de;lightning.caipicrew.dd-dns.de> Received: from mbanck by lightning.caipicrew.dd-dns.de with local (Exim 4.92) (envelope-from ) id 1n3dHF-0006Mj-F9; Sat, 01 Jan 2022 13:14:25 +0100 Date: Sat, 1 Jan 2022 13:14:25 +0100 From: Michael Banck To: Matt Zinicola Cc: pgsql-admin@postgresql.org Subject: Re: Compilation of postgres 13.4+ source fails to find some of its own libraries References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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.banck@credativ.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/