This is just my experience.

If you find yourself needing to set DYLD_LIBRARY_PATH, you are doing it wrong.  
Properly linked code should not need it.

Have a look at 'man otool’ to see how you can check how your binaries are 
linked.

Bill Northcott
 
> On 4 Aug 2015, at 3:30 am, [email protected] wrote:
> 
> To: "[email protected]" <[email protected]>
> Subject: Unable to setenv DYLD_LIBRARY_PATH using launchctl command on
>       El      Captian.
> Message-ID:
>       
> <9f411bbf4e49244192a42ad7e53f7ee229b38...@inbe00exp001.symphonyteleca.com>
>       
> Content-Type: text/plain; charset="utf-8"
> 
> 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
> $ launchctl getenv DYLD_LIBRARY_PATH
> 
> The getenv does not print the path, it returns empty.
> 
> 
> Thanks,
> Rashmi
> 
> 
> RASHMI VYSHNAVI
> Senior Engineer - Product Development


 _______________________________________________
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