regression tests require some file(s) to be installed first.

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: wefraser(at)yahoo(dot)com
Subject: regression tests require some file(s) to be installed first.
Date: 2022-10-10 03:16:54
Message-ID: 166537181453.591810.8404107151681164831@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/install-procedure.html
Description:

This might be a documentation issue, and it might be an actual issue, I'm
not sure.

I was following the installation instructions from the
https://www.postgresql.org/docs/current/install-procedure.html

I used all of the defaults and steps 1 and 2 looked good, but when tried to
run the regression tests in step 3, the database failed to load with the
following error in
"/Users/bfraser/tools/postgresql-14.5/src/test/regress/log/initdb.log":

=====
dyld: Library not loaded: /usr/local/pgsql/lib/libpq.5.dylib
Referenced from:
/Users/bfraser/tools/postgresql-14.5/tmp_install/usr/local/pgsql/bin/initdb
Reason: image not found
======

Based on the way to documentation reads currently, I'm thinking that the
regression tests shouldn't depend on (and, if fact shouldn't even be looking
at) any files in "/usr/local".

After I ran step 4 (make install), the regression test worked perfectly.

Run on MacOS 11.4, GNU Make 3.81

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2022-10-10 14:26:20 Re: regression tests require some file(s) to be installed first.
Previous Message Noah Misch 2022-10-09 13:21:43 Re: SQL-standard function bodies and creating SECURITY DEFINER routines securely