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 1viXY5-009ESR-1z for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jan 2026 12:43:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viXY4-00794K-2W for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jan 2026 12:43:01 +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 1viXY4-00794B-1G for pgsql-admin@lists.postgresql.org; Wed, 21 Jan 2026 12:43:00 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1viXY2-001iUh-2L for pgsql-admin@lists.postgresql.org; Wed, 21 Jan 2026 12:43:00 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-432d2670932so4967377f8f.2 for ; Wed, 21 Jan 2026 04:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768999378; x=1769604178; darn=lists.postgresql.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ZGAe2wZ+Xmaa8g2hy8/czt/vmM79/5/XDWBDdjt7vtk=; b=UishDz67dSLJ53lRXth5w6L1kOWwkN8hA2PCn+4HbHuVNCM9H26OhmGKVmruVZeS3Y H5hPmmhqaFjApXEHqMrbGWxfqbOrMhsjtM5423UrlxXNrDKA0Cr6G6DC+M9i4ue+jojG k+YuyteQbza3kN/YtaeGoOs3jWj5P4/qNEYMIWsVbEKTmZycnw0aZiBgs6yK6oaQndr2 xbqxCov5GcsANNPrvmk/4YMaiSUFXOrnUDx1a+Abq1sD84VG2BV2GHuH6kYx1YA6zVHJ C/Hc4WtR8DIJqm8d9kPqK+E1eI6eCG9e3RYWWV/m4EnjTndRD6x/fvAzbKk3aAHK/yQ3 dQFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768999378; x=1769604178; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZGAe2wZ+Xmaa8g2hy8/czt/vmM79/5/XDWBDdjt7vtk=; b=UToVZ4AkMvbnlvWeVuPLGpARjecesMfAGLmegOFdjPJrtF3eXyBRqu/g1aQRaTwGJf pZ6MGIfecBqnKqh1OlMAiGjjc6cUQ8eMbnLfvpYariFZtU67jgDeDlIRGaW53ywtirQo YkuqodF7sXWey6RWurGh7ZsRt+LSdyT/BMjj4RB++ZO8wLpdDuklsJUecNsXF95HIPOO pFPkBnVybUb8Cre9HCadCm31oy5Ynh7JrpOXHkpInEQoIAgSakZ0QcKD5xeNJx1zEAqA 0vN4D5KhEpoemmwE8JOksFV4GAX8nSIN8/8p8wMH82kEPoRqn9BcBTLxWsVsY6CAPZnN 6QsA== X-Gm-Message-State: AOJu0Ywr+YH5V8SdV0nxMjX/qh5Y6XvDVuuzU+dqW5RE8hfTx246EYRQ ryn2lXBRUb/uS90SWaXQZIJ9CAlHR0Ww8UQvhbkkq5faJVwT47NCYUBK4bxRCg== X-Gm-Gg: AZuq6aKTh/IJqEGKd0V512wF4X5pYEjciNc1odlM8yA1nhHxST1XZ1NRtz2ExgtKYJL vrav5ON25UNbd96lcAC1v8bpcf5teTyaE4u7VoRn3a5GczIghY2fq8qC3CSYd4QxS3BUk789AT9 gpchixDEQcCVl/cJN6syW/WaeEPhDHoLCDzRvsWUIR1v3cZOLfxjw75JDL064CQeWFIkzaCd5Yc fJtBto/YbKNlRdszabpuuRxZ4XETVVWFoOSVIT3KlfEHz0AU3ESqms6N/JfMQNaJgpeKMLDoqGl 0fZdZh81gj8SGYZY5wVYKj80JyUwpm3wN6CjCmKMBx/WFCPT2edVnjDdKR6yec5XnQlXuIfknts BM0kQ1ChxpcdN93v//pQ8HX20m9J0RcTp3SvZHHn+Tb/oCRF/6ucD9Gy/k3mMhoynWQHyjynUN6 AHclLZV4iBz7dbVj9dyO+aWxuw9lDLn9sI7wA9I2lj9ca9bjhGGKoCnrTIWoh7BA== X-Received: by 2002:a05:6000:2307:b0:431:5d2:4526 with SMTP id ffacd0b85a97d-43569998dbcmr24580760f8f.19.1768999377469; Wed, 21 Jan 2026 04:42:57 -0800 (PST) Received: from ?IPV6:2a01:e0a:22d:4d0:1ac0:4dff:fe8b:a3c7? ([2a01:e0a:22d:4d0:1ac0:4dff:fe8b:a3c7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4356996cecasm33891093f8f.26.2026.01.21.04.42.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jan 2026 04:42:57 -0800 (PST) Content-Type: multipart/alternative; boundary="------------tmQavJCLFY0c4tOvsJO7XYnF" Message-ID: <43a2975b-2dab-4a1c-be3f-93dcc249f8f1@gmail.com> Date: Wed, 21 Jan 2026 13:42:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Unable to compile postgresql-18.1 To: Ibrahim Shaame Cc: pgsql-admin References: <01c5d88c-e7d7-4a52-985c-d9dabc0f670a@ewie.name> Content-Language: en-US From: Pierre Forstmann In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------tmQavJCLFY0c4tOvsJO7XYnF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit As already requested, please answer following questions with lots of details; What are exact build commands you've executed? Le 21/01/2026 à 09:52, Ibrahim Shaame a écrit : > 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 AM 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 PM Erik Wienhold 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 ‘./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 > --------------tmQavJCLFY0c4tOvsJO7XYnF Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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

What are exact build commands you've executed?


Le 21/01/2026 à 09:52, Ibrahim Shaame a écrit :
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 AM 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 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 PM 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 ‘./specs’: 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'
> 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
--------------tmQavJCLFY0c4tOvsJO7XYnF--