> On Aug 2, 2015, at 23:18, Rashmi Vyshnavi 
> <[email protected]> wrote:
> 
> 
> Hi All,
> 
> I am unable to set environment variable DYLD_LIBRARY_PATH using launchctl 
> command on El Captian. The below are the commands 
> $ launchctl setenv DYLD_LIBRARY_PATH /Path/to/my/dynamic/libraries

This is expected to fail.  You should be seeing logging to syslog like:
"caller attempted an operation forbidden by System Integrity Protection: ..."

However, it would be good if launchctl didn't give the impression of success.


> $ launchctl getenv DYLD_LIBRARY_PATH
> 
> The getenv does not print the path, it returns empty.
> 
> 
> Thanks,
> Rashmi
> 
> 
> RASHMI VYSHNAVI
> Senior Engineer - Product Development
> 
> HARMAN Connected Services
> Tel. +918033074845 | Mobile +918033074845 | Twitter
> Plot No.3 & 3A, EOIZ Industrial Area, Sadaramangala, Bangalore - 560066
> 
> <46b5c2.png>
> 
> Please consider the environment before you print.
> 
> Notice to recipient: This e-mail (including any attachments) is meant for the 
> intended recipient only, may contain confidential and proprietary 
> information, and is protected by law. If you received this e-mail in error, 
> please immediately notify the sender of the error by return e-mail, delete 
> this communication and any attachments, and shred any printouts. Unauthorized 
> review, use, dissemination, distribution, copying or taking of any action 
> based on this communication is strictly prohibited.
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Unix-porting mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/unix-porting/jeremyhu%40apple.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/unix-porting/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to