Re: ECPG regression tests seem rather fundamentally broken - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ECPG regression tests seem rather fundamentally broken
Date
Msg-id 24002.1169369088@sss.pgh.pa.us
Whole thread Raw
In response to Re: ECPG regression tests seem rather fundamentally broken  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> ...  However, I tried reverting the
>> change and things still did not work.  The reason is that the test
>> programs are built with relative paths to libpq that look like
>> ../../../../../src/interfaces/libpq/libpq.sl.5

> This is a symptom specific to HP-UX, which hardcodes the link-time 
> library path into the output.  The ECPG test probably never worked 
> there.

Au contraire, it did work last time I tried (which I must admit was a
few months ago, so I cannot be sure just when we broke it).  And anyway,
how would you expect it to magically work differently on some other
platform, for a library that is neither present in the system's standard
search path, the rpath (which we failed to provide anyway), nor the
build-time-relative path?  I'm not quite sure what other plan the
dynamic linker should follow.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ECPG regression tests seem rather fundamentally broken
Next
From: Gregory Stark
Date:
Subject: Re: Simplifying pg_am representation of index sortability