Re: [HACKERS] macOS Sierra & System Integrity Protection - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] macOS Sierra & System Integrity Protection
Date
Msg-id 2bbdf82b-1709-299b-9afc-0ae046791fd4@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] macOS Sierra & System Integrity Protection  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 6/12/17 23:38, Tom Lane wrote:
> https://www.postgresql.org/message-id/26098.1446697005@sss.pgh.pa.us
> 
>> My main purpose in writing this email is to pass along what I learned
>> in the hopes of sparing somebody else some trouble, but perhaps there
>> is a way to modify our regression test setup so that the tests can
>> pass with System Integrity Protection enabled.
> Not really.  If you want it to take libpq.dylib from the build tree,
> rather than some already-installed location, there is no other option
> but DYLD_LIBRARY_PATH.

I think the idea mentioned in the earlier thread about using relative
rpaths would be worth a try.

(Computing relative paths in makefile + shell might be fun.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] WIP: Data at rest encryption
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Transactional sequence stuff breaks pg_upgrade