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

From Trond Eivind Glomsrød
Subject Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
Date
Msg-id Pine.LNX.4.33.0111181141570.16070-100000@halden.devel.redhat.com
Whole thread Raw
In response to Re: 7.2b2 "make check" failure on Red Hat Linux 7.2  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
List pgsql-hackers
On Sun, 18 Nov 2001, Peter Eisentraut wrote:

> Trond Eivind Glomsrød writes:
> 
> > Fix? Don't use rpath - it's evil, and should be avoided anyway.
> 
> configure --disable-rpath is your friend.

Didn't know about that one - it will certainly be put to use :)

> Overall, rpath gives us much more benefit than the occasional trouble it
> creates.

When you install (not configure for, just install) into a separate tree 
(for easier packaging), it's a hole which can be exploited - some packages 
will rpath into /var/tmp/<foo>, for  instance. Hackers can then put their 
own library there. One big offender here is perl's automatic module 
creation script which will change the rpaths from what you told it when 
you built it to what you do when you install it.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 7.2b2 "make check" failure on Red Hat Linux 7.2
Next
From: Peter Eisentraut
Date:
Subject: Re: TODO item inquiry/claim