public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pierre Forstmann <[email protected]>
To: Ibrahim Shaame <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: Unable to compile postgresql-18.1
Date: Wed, 21 Jan 2026 13:42:56 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAJOWwD77EeL+=Li_T2qqvEbomXV1Edq36xjdvHzQ-To1ma+DjA@mail.gmail.com>
References: <CAJOWwD4dUe-zRw2kd_jJgy5m1Aa8mGNKKwn-_DywSwUDt5ik4g@mail.gmail.com>
	<[email protected]>
	<CAJOWwD4d0SWVQiGa61o85AQ9o1F4PtGEBK7c=bHVNQYOCKGjtQ@mail.gmail.com>
	<CAJOWwD77EeL+=Li_T2qqvEbomXV1Edq36xjdvHzQ-To1ma+DjA@mail.gmail.com>

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 <[email protected]> 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 <[email protected]> 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
>

view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Unable to compile postgresql-18.1
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox