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 1vikrX-00Eaq0-2H for pgsql-admin@arkaria.postgresql.org; Thu, 22 Jan 2026 02:56:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vikqW-00AZRF-1h for pgsql-admin@arkaria.postgresql.org; Thu, 22 Jan 2026 02:54:56 +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 1vikqW-00AZR6-08 for pgsql-admin@lists.postgresql.org; Thu, 22 Jan 2026 02:54:56 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vikqU-001pJH-0h for pgsql-admin@lists.postgresql.org; Thu, 22 Jan 2026 02:54:56 +0000 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-c2a9a9b43b1so242670a12.2 for ; Wed, 21 Jan 2026 18:54:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769050492; cv=none; d=google.com; s=arc-20240605; b=SdWYxw190UzD/V8hXpWqiEHDP+Pk/jhTOJZ317jm+OtXUi42apyVZ4HqRfD73nFPr2 1PLMnUVKcR1nsu7evGAQFUR5Zcmfof1M9GiLty3YjJ0A9slQ4AaR9iblmhrmkly7rnIZ UldKUNA3C7bpoLuh9jtcb2UsEOpUPdhwih+1N7QlwVF9njPVPAK10PV5Loqi88El/Fed 85aJS4RHemNTnkf1Yt1jtdY+unNBV/s7S2IeufQTCN9iza5t71wpp/mk3lIqeAIgCYWB aMn79CGhG6tAavs87e5CJFgqxDKaesUzRn+Ygz4Tr6hiE/dApA2mL3cNIY/WWTZmiXud gtjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=s1EQ4gBvx5/Y2OUh0rTB/E9thFc9WZM6pj7G2uLiSuY=; fh=1tR10S0xlk1mgM8lma2tT9pg53KZ68kcvYKnopADd2c=; b=d9E0uWcWC6EbYxqA7U4wCNPls8BLkOw57JCYtFhvUjUBWVvxx9zkUajiq0rpuIHgae NtgH7IhfD+/ujkiLQHnTHngmvTjV3tHZ94LhmZQ9lAoTmVAimtWUe4ye1OB00D4N7oJ5 rn6wLGRs9AdMDBZfJwojJ7tV9NAgw8YtlQ2IqFmpmPKVUlfcRC+WWyQpxeldk/uTcopj u4eefvDPEq6Qonqtk1KOacY1/jEhqKAimLRt+a3c6WfzjdMOK9oR/UoXg1kaiMUSbq6o VgCrSVo6JWl5k7DDttkPofvJ0eG0TR45N68Cfx9kATvlqg5pZdVBolCiDW9GS1B3Ny5O IQ+Q==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769050492; x=1769655292; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=s1EQ4gBvx5/Y2OUh0rTB/E9thFc9WZM6pj7G2uLiSuY=; b=WrVir0fVeUDIgkmNx9dcBBRSc9Q9c/nAnv2fPPCOj8iaJVm/jMW3E8Cb8W2GsccppY Nan3VEYDt5ngNAJKdMzc0DruYpFLxMgmAYsVtVGiUUQQGsHUxN08GrAtDDfdcoC9Rk7b XLT8vbuxmgQxSEbtMWo2Auc6ZX7Xp/myBmBOmU0Xilx4GbC0XlKhKCSbGWOzjI8gAzIn VLKDc9VLnrsXWbyGoNvuWq2eKOe0R9MD0LRDjHN/6DIjbXR08G+BTxaa73P9AbgFjp3j EucEB2Vjf4N5WXLGkpoGUgwx4Z2lQGxaiLAewIWmWU8IuEAoP2usIdnIjkZlLA3gUGQV UFJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769050492; x=1769655292; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=s1EQ4gBvx5/Y2OUh0rTB/E9thFc9WZM6pj7G2uLiSuY=; b=C79VPAERRwitqNjiTFKrC1n6hVi19WZB2695yJ6i3b6VtwziiL3GorDCW6lwtCLdtj 5dRlF+uWbdkW2ixUxNzSiHrpEOLqfnuPrq/vH6p9565pEg1pn05xWIYVeeI/1AI4c31B iD3ca4lvc9UdaLclf+q7+vt6D+q/WhrrFDdRqFFkCnQNnsLe23ZLeVoKPtN2uQNlxjYq DHzHxEJwZ480HvGSCXPQiNPQD0NnO5zDXPKsq+ti412DpUYUgSqPZO7ES7q0TTJ60+YN IqCVyfh9+qTSnM/1nrm3Et8XEkMH/CVnPhGmnG67vmW/X2wWYefVfRsL8EQ76sgggMeF euCA== X-Gm-Message-State: AOJu0YzUg8yW1YV8DTVKVavSuG3qPUEjHMQoGrPaOibp6AFQ7qaRyekv fVV38VJUr4BUCqlRsdmCJF7RVS8VPtBP7zMUuWiWNXjnLjKq9+nRY959DXo3dwMLoZVyxaJZmu0 sO5Kar99UOc9D5PgD4ERAXHny+6M90wY= X-Gm-Gg: AZuq6aJbByR4wrkScD8PvRvAaXrmtCMRvJeOxunjl0kHe+Uu9Xc3vMnu/xlyAZV6A1f H1UD7ImtOJ68Xg2on7B/uelq+hf2N8Q/9uWnR1p9hfXEShVTOTcMTdDROR6FH4IindVs1l6k9Cf G/QokkzCqIy7RxMzgfEMqF/kr7abp0T/bkqPYR+Hsinp6wrocm78IyYZwU+IPv7PWAXbLpm4wOW LS7guFhBYDW516k0m/LP4crlAt0fiqIk1K1Din9sg1GyarWGVutqzIKhM2mZ21mKgzKm4HQ8n2f vrrK/g== X-Received: by 2002:a17:90b:3c04:b0:353:2e1:9605 with SMTP id 98e67ed59e1d1-35302e19f45mr3783599a91.6.1769050491713; Wed, 21 Jan 2026 18:54:51 -0800 (PST) MIME-Version: 1.0 References: <01c5d88c-e7d7-4a52-985c-d9dabc0f670a@ewie.name> <43a2975b-2dab-4a1c-be3f-93dcc249f8f1@gmail.com> In-Reply-To: <43a2975b-2dab-4a1c-be3f-93dcc249f8f1@gmail.com> From: Ibrahim Shaame Date: Thu, 22 Jan 2026 05:54:39 +0300 X-Gm-Features: AZwV_QjKh5Ub7cquIiqGKxcY9gRpRFNkJoPPKcLVqHTWb_T-ixU16AHfpOf_jxw Message-ID: Subject: Re: Unable to compile postgresql-18.1 To: Pierre Forstmann Cc: pgsql-admin Content-Type: multipart/alternative; boundary="00000000000025fd210648f12a22" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000025fd210648f12a22 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you Pierre. As for build command, I don't use any special commands. I just configure with some options and then issue "make" or "make world" commands, leaving everything else standard as it came with the sources. Thanks again Ibrahim On Wed, 21 Jan 2026, 15:42 Pierre Forstmann, wrote: > As already requested, please answer following questions with lots of > details; > > What are exact build commands you've executed? > > > Le 21/01/2026 =C3=A0 09:52, Ibrahim Shaame a =C3=A9crit : > > I have manually directed the LD_LIBRARY_PATH to /usr/lib64 but I get the > same error message. > Any suggestions? > Thanks > Ibrahim Shaame > > On Wed, Jan 21, 2026 at 9:49=E2=80=AFAM Ibrahim Shaame wrote: > >> Hello Erik, >> Thank you for the response. As for LIBRARY_PATH, I have always manually >> compiled postgresql and I don't explicitly mention the LIBRARY_PATH >> directory. That's why I am surprised why this time with this subversion >> doesn't work just as it worked in the last version. >> >> Thanks >> Ibrahim >> >> On Sun, Jan 18, 2026 at 7:29=E2=80=AFPM Erik Wienhold w= rote: >> >>> 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 =E2=80=98./specs=E2=80=99: 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 an= d >>> 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=3D >>> make clean world-bin >>> >>> -- >>> Erik Wienhold >>> >> --00000000000025fd210648f12a22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you Pierre. As for build command, I don't use a= ny special commands. I just configure with some options and then issue &quo= t;make" or "make world" commands, leaving everything else st= andard as it came with the sources.
Thanks again

Ibrahim=C2=A0

On Wed, 21 Jan 2026, 15:42 Pierre Forstmann, <pierre.forstmann@gmail.com> wrote:
=20 =20 =20

As already requested, please answer following questions with lots of details;

What are exact build commands you've executed?


Le 21/01/2026 =C3=A0 09:52, Ibrahim Shaame a =C3=A9crit=C2=A0:
=20
I have manually directed the LD_LIBRARY_PATH to /usr/lib64 but I get the same error message.
Any suggestions?
Thanks
Ibrahim Shaame

On Wed, Jan 21, 2026 at 9:49=E2=80=AFAM Ibrahim Shaame <ishaame@gmail.com> wrote:
Hello Erik,
Thank you for the response. As for LIBRARY_PATH, I have always manually compiled postgresql and I don't explicitl= y mention the LIBRARY_PATH directory. That's why I am surprised why this time with this subversion doesn't work just as it worked in the last version.

Thanks
Ibrahim

On Sun, Jan 18, 2026 at 7:29=E2=80=AFPM Erik Wienhold <ewie@ewie.name> wrote:
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 =E2=80=98./specs= =E2=80=99: Is a directory
> compilation terminated.
> make[2]: *** [<builtin>: isolationtester.o] Error 1
> make[2]: Leaving directory
> '/data/dwnlds/dwnld_slack/postgresql-18.1/src/test/isolat= ion'
> 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.=C2=A0 For example, I can
reproduce it with:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 export LIBRARY_PATH=3D
=C2=A0 =C2=A0 =C2=A0 =C2=A0 make clean world-bin

--
Erik Wienhold
--00000000000025fd210648f12a22--