Re: 7.2b2 "make check" failure on Red Hat Linux 7.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
Date
Msg-id 11273.1005947217@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.2b2 "make check" failure on Red Hat Linux 7.2  (teg@redhat.com (Trond Eivind Glomsrød))
List pgsql-hackers
teg@redhat.com (Trond Eivind Glomsrød) writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> I speculate that your executable was picking up
>> a non-MULTIBYTE libpq shared library from someplace.  Check ldconfig
>> and all that stuff...

> I have an existing installation of 7.1 on the system, that's why I did
> "make check" in the build directory.

> "--prefix=/usr" seems to be the "culprit" - without it, it regression
> tests run just fine. 

The pg_regress script sets LD_LIBRARY_PATH to try to cause libpq and
the other shlibs to be picked up from the temp installation tree.
Perhaps this is wrong or insufficient on your platform.  It certainly
sounds like the dynamic linker is choosing the installed libpq over
the one that we want it to use.  Any thoughts on fixing that?
        regards, tom lane


pgsql-hackers by date:

Previous
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
Next
From: mlw
Date:
Subject: Re: Super Optimizing Postgres