Re: Installation Report for powerpc-apple-netbsdelf1.5 - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Installation Report for powerpc-apple-netbsdelf1.5
Date
Msg-id 398B79E4.28F6FD5F@alumni.caltech.edu
Whole thread Raw
In response to Re: Installation Report for powerpc-apple-netbsdelf1.5  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Installation Report for powerpc-apple-netbsdelf1.5
List pgsql-hackers
> I think what you're supposed to do in NetBSD is what was said earlier
> (-Wl,-R/usr/whatever/lib).  Sounds like that conflicts with a lot of
> people's beliefs about how to do it on a lot of other platforms
> though.  It also breaks the "try the regression tests before
> installing" feature.

Not necessarily, since you can override the rpath setting with
LD_LIBRARY_PATH (at least on Linux and presumably other gnu-capable
systems).

However, the link set will fail if the path to the directory does not
exist (again, at least for gcc/g++ on Linux and Solaris). That may not
be a problem for most package builders (since things will go in a
standard place) but will cause problems for installing into standalone
areas. Especially for, as you point out, testing before installation.
                    - Thomas


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_dump and ANSI types (TODO item)
Next
From: Thomas Lockhart
Date:
Subject: Re: Differences between int8 and int4 as pkeys and fkeys