Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vhVeI-00Gv8K-2R for pgsql-admin@arkaria.postgresql.org; Sun, 18 Jan 2026 16:29:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vhVeH-00Ag3E-0s for pgsql-admin@arkaria.postgresql.org; Sun, 18 Jan 2026 16:29:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vhVeG-00Ag35-2f for pgsql-admin@lists.postgresql.org; Sun, 18 Jan 2026 16:29:09 +0000 Received: from mout-u-204.mailbox.org ([80.241.59.204]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vhVeF-001Bsu-0K for pgsql-admin@lists.postgresql.org; Sun, 18 Jan 2026 16:29:08 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4dvJv25GMGz9sbl; Sun, 18 Jan 2026 17:29:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1768753743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OsfwHD5Kub1zlETdTXP145zyDHxGiE31cXL5ml+Jrn0=; b=EP51s0kHXY8LAn79+86gcShui1N2Fmg24ptva0YNW3po0Fidppur76N8FGMlz2yQCe9gJY dawf59KWtG6lW0uf00lzIOkkWWUP2J8XY7t9Xm/BitV+Q2wxIDr/AFVrkBgGBqJ5Kz1m8t aBESCRZdizez5/gki8EPUDVtgTRsYHIZdSenRmwdp6Vku8jnt7uv+9fSgUZhpx5Z/hnNIm tGUcTm/DQtyPDrZhyOWpZvPugGsCKklhjJ2aPZlDCCHENhKiP3CubBnuff1HoLF/3HTTEd gch+hhJ5DdcwgsZPLfuUvi8yBxjv5SBaqRQvGmD0ola5IZJRNNadW4CxWY/AzA== Date: Sun, 18 Jan 2026 17:29:00 +0100 From: Erik Wienhold To: Ibrahim Shaame Cc: pgsql-admin Subject: Re: Unable to compile postgresql-18.1 Message-ID: <01c5d88c-e7d7-4a52-985c-d9dabc0f670a@ewie.name> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-01-02 19:23 +0100, Ibrahim Shaame wrote: > I have tried to compile from source postgresql-18.1 but it fails and I get > the following error: > > gcc: fatal error: cannot read spec file ‘./specs’: Is a directory > compilation terminated. > make[2]: *** [: isolationtester.o] Error 1 > make[2]: Leaving directory > '/data/dwnlds/dwnld_slack/postgresql-18.1/src/test/isolation' > make[1]: *** [Makefile:42: all-test/isolation-recurse] Error 2 > make[1]: Leaving directory '/data/dwnlds/dwnld_slack/postgresql-18.1/src' > make: *** [GNUmakefile:11: all-src-recurse] Error 2 > > Last compilation of postgresql-18.0 worked perfectly without issue and on > the same laptop > Any suggestions? > > I am on : Slackware64 Linux 15.0 (Current) > Acer E5-771 laptop What are exact build commands you've executed? Could be that LIBRARY_PATH contains an empty path. For example, I can reproduce it with: export LIBRARY_PATH= make clean world-bin -- Erik Wienhold