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