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 1viUqT-007xa5-31 for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jan 2026 09:49:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viUqS-006JlP-0o for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jan 2026 09:49:48 +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 1viUqR-006JlH-2p for pgsql-admin@lists.postgresql.org; Wed, 21 Jan 2026 09:49:48 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1viUqQ-001h3e-0w for pgsql-admin@lists.postgresql.org; Wed, 21 Jan 2026 09:49:47 +0000 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-352c414bbbeso574981a91.0 for ; Wed, 21 Jan 2026 01:49:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1768988984; cv=none; d=google.com; s=arc-20240605; b=SnpJMR3jWs48t2q4YrTJ9xsCM9GtsFXsJVNS6gBwBRS9ZuLeeqpyhfdKMPefpr66Wy 8hpXGWdvriZV6Q8CWUV7/8RS4JoGh3aV8pPhLbPqPto543x3y0dLvuh/2wwe7Jk73ENN y/OC15b2iZzILa6u7WtjOT+cpXu0mmNcNbs49+2RTuDu0lKCsy/Rq9jeZmU3FfGFMxUR YeoVPfRae0z/gGIHwnLhmO3b+apeQ54wD7MtWODtIYZU262zFh0nKymmXlVKzruZMKk+ eEVACn3QPpUZQeGP/lvzuEQVE44zIauLPh68kOZkkMGZg6maEvSbVZqz5g8pqIVpbBlW dl+A== 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=JXm5IGFpahUE6t+X0yu4MLIdgS1RCXKvh0BLcOOQ8/Q=; fh=Cf/f2qTc6Ppl2EhnHJUQUtx3CcXdN4aTkHQFyQm2bmA=; b=M0YB/1uUeClCl5jqGLs7BX7MnOE3gDU5oB60TqIqvWVhKKHQTA7zI7OtGqYJOfzm06 OVb1ybJnh7XUScZQJXeGtSnx3WqcuJOeL/JRcrZ8qWYJHBOMPw7IZCELOT4fYv8i7d8K a6QH/6jBvm0/JAY7csYIo7BMXX+y1POo52CfsY6kzRWQ9JSVbYLBcC8U4QbMdz3ZqIMV OUI2bs/1JnaEr52YTJvMqEKw/LVj++6tAqMxyCD6J54fdCSg593J+psTr3u9imowyJGk Q+CJ/RRGuIEkcwJ10PVMbCT211JbmfZPatjXu+0HFBZwkb2by3dpiv06hyR35Nr6fxoR LBmw==; 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=1768988984; x=1769593784; 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=JXm5IGFpahUE6t+X0yu4MLIdgS1RCXKvh0BLcOOQ8/Q=; b=hVddR9iZ+OY+QUgAdnBy+JTiKk37UPLyIkfv/O9ys6SKH+Ip6KEvn8nozNWuqMNusk V7ehdwwOeGmyntkJpWywIaj1JRveFQsQXfbJx46Bc/4kTBiM7RElyvgD0PNETF0w0dY4 MMs8439K2ErMFZAR/xAeZEcLHN389gLeeGpJlfexc4dB+JaEej9mLgzD1/e8RyI2qHxO jmNWvF9z5lYWw/sq8kK/LutUTzGZ+/2G8r/iRHs19a143s1MMW97gldoAs5k/hZ2LvKD jgo9ZsDIypkVxXDFA5LaJNqOUxK57VrKGF4rzeOmOoXOoM6SRWdFDphqA/KrS5+D+OOn XeRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768988984; x=1769593784; 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=JXm5IGFpahUE6t+X0yu4MLIdgS1RCXKvh0BLcOOQ8/Q=; b=X8SfIRRjURaCVumq9klLAbaKTQipBJd/wsu42R3jHe75FJ7L2k26/upRrjLmg+FY9k OkGzrb9cK/krQSpnB54KGZce9pR4VTyATFss5JHxaWxjGgmDxfh7U5bfro/SacPIXFCx kBrIvOs41sAyyBwQ5jS7Wwu4WCw/J6NwXDxi0n+78ZCFBZJ8NB5xv99/RHkJtvT+eNUx kTNYKwEuVf1+9GqpEf1fD/LYuvHloadYYneC0jM2qtRIfM3UG1C6LD4zv6m4uAEpFE/6 LtfE9UQeVayi/Cp7SRvfwgidT5zcujS1nOZN/Ax19QCXk0oQKuuoXPWOTZjudwSdN4JH a5Ag== X-Gm-Message-State: AOJu0YwgNA6TNqRIbOwECtPfyipxlSVfz8Q/MII3mdjxVV/yxvSGDpml 3OcdLOkg24Cw4YWJEazOyyMcgpcZz8Rkw9EYhQm1OEi1Ff5sGQlADiBeoQ3ClE+X3p2PrWu5j7d rFTNRj+CH3Mx4L6VZ70ajz2tmTRXyox6mtw== X-Gm-Gg: AZuq6aL6UHGuTgu/aDDT1dAu6u4XNJOMC0RCwUwdtDbHC4+dfLTGX+qaXO8AT79SzxA +5VZIh+uHkw566AH2UOMqGziuYppPQygHRYaN+Qch5vJiudqrpo2wXEx/L9//6SOiIo9vhBWA+G BVRV6qvl/Cb44FqIl75FVe2yi3/4H73BWfwR64Fq5oBr4ioJWByi/w2FNEKPKFYSQG3NboxJPgB GT0g3Zt9rXxY6BAiv/94/4wnlgcb+92Tgpw75WeG7bEVQStxf51SoQah2oGiPHF4nfn9ko= X-Received: by 2002:a17:90b:56cc:b0:34c:ab9b:837c with SMTP id 98e67ed59e1d1-35267632a0emr18151075a91.0.1768988984290; Wed, 21 Jan 2026 01:49:44 -0800 (PST) MIME-Version: 1.0 References: <01c5d88c-e7d7-4a52-985c-d9dabc0f670a@ewie.name> In-Reply-To: <01c5d88c-e7d7-4a52-985c-d9dabc0f670a@ewie.name> From: Ibrahim Shaame Date: Wed, 21 Jan 2026 09:49:07 +0300 X-Gm-Features: AZwV_QiviEy_XvSoJ8zOnKsGhAnLcaSMKNbJ5koMqTrAOkSkUTeFF--pFCVmaT0 Message-ID: Subject: Re: Unable to compile postgresql-18.1 To: Erik Wienhold Cc: pgsql-admin Content-Type: multipart/alternative; boundary="000000000000052f820648e2d855" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000052f820648e2d855 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 wrot= e: > 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/sr= c' > > 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=3D > make clean world-bin > > -- > Erik Wienhold > --000000000000052f820648e2d855 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 surpri= sed why this time with this subversion doesn't work just as it worked i= n the last version.

Thanks
Ibrahim

On Sun, Jan 18, 2026 at 7:29=E2=80=AFPM Erik Wien= hold <ewie@ewie.name> wrote:
On 2026-01-02 19:2= 3 +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/isolation'<= br> > 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
--000000000000052f820648e2d855--