Re: make check error on -HEAD - Mailing list pgsql-hackers

From Neil Conway
Subject Re: make check error on -HEAD
Date
Msg-id 1099272423.31449.68.camel@localhost.localdomain
Whole thread Raw
In response to Re: make check error on -HEAD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 2004-11-01 at 07:51, Tom Lane wrote:
> I looked at this a bit more and found that on Linux, the dynamic
> loader is documented to search "rpath" before LD_LIBRARY_PATH;
> so had we not specified an rpath when building the psql executable,
> pg_regress would have worked as intended.  Sounds like BSD is the same.

Seems Solaris does it the other way:
   http://list-archive.xemacs.org/xemacs-beta/200001/msg00328.html

although Drepper says in the thread that searching rpath before
LD_LIBRARY_PATH is per standard.

> Now, not specifying rpath seems like a sure loss for every context
> except "make check" with an uninstalled version.  So I'm afraid we have
> to live with it.

This is a kludge, but could we specify LD_PRELOAD?

-Neil




pgsql-hackers by date:

Previous
From: James William Pye
Date:
Subject: Re: Version defines
Next
From: Neil Conway
Date:
Subject: Re: tablespaces for temporary files