Re: Vers. 8.3.0: "make check" fails dismally

Lists: pgsql-bugs
From: Mike Dowling <Mike(dot)Dowling(at)t-online(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Vers. 8.3.0: "make check" fails dismally
Date: 2008-02-06 12:26:35
Message-ID: 20080206122635.GA6378@moocow.localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Hello postgresql developers,

assuming, of course, somebody actually reads this bug report.

Naively checking the build using "make check" (yes, gnu make, and as an
unprivaleged user) fails all tests. The apparent reason is that
postgres cannot find its shared libraries.

FIX:

Enter

$ export LD_LIBRARY_PATH=/usr/src/postgresql-8.3.0/src/test/regress/tmp_check/install/usr/local/lib

before "make check" and all the tests are then successful.

Cheers,
Mike Dowling
--
Dr. Michael L. Dowling
Gaußstr. 27
38106 Braunschweig
Germany


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org, Mike(dot)Dowling(at)t-online(dot)de
Subject: Re: Vers. 8.3.0: "make check" fails dismally
Date: 2008-02-06 14:44:27
Message-ID: 200802061544.28171.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Am Mittwoch, 6. Februar 2008 schrieb Mike Dowling:
> Naively checking the build using "make check" (yes, gnu make, and as an
> unprivaleged user) fails all tests.  The apparent reason is that
> postgres cannot find its shared libraries.

Which platform?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org, Mike(dot)Dowling(at)t-online(dot)de
Subject: Re: Vers. 8.3.0: "make check" fails dismally
Date: 2008-02-06 16:26:16
Message-ID: 10394.1202315176@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Mittwoch, 6. Februar 2008 schrieb Mike Dowling:
>> Naively checking the build using "make check" (yes, gnu make, and as an
>> unprivaleged user) fails all tests. The apparent reason is that
>> postgres cannot find its shared libraries.

> Which platform?

Also, how exactly did you do the configure and build steps? And what do
the failures look like, in detail?

An idea that comes to mind is that you had an older PG version already
installed and for some reason the dynamic loader tried to resolve
libpq.so as the older version instead of the newer one. If that's the
problem then a temporary workaround such as LD_LIBRARY_PATH is often the
best answer for running "make check", since the issue will disappear
after you "make install" anyway.

regards, tom lane