Re: [HACKERS] macOS Sierra & System Integrity Protection
| От | Peter Eisentraut |
|---|---|
| Тема | Re: [HACKERS] macOS Sierra & System Integrity Protection |
| Дата | |
| Msg-id | 2bbdf82b-1709-299b-9afc-0ae046791fd4@2ndquadrant.com обсуждение |
| Ответ на | Re: [HACKERS] macOS Sierra & System Integrity Protection (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | 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 по дате отправления: