Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: issue with DYLD_LIBRARY_PATH and environment.plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issue with DYLD_LIBRARY_PATH and environment.plist




On 16 May 2007, at 09:25, Matthieu Chevrier wrote:


Thanks Kevin for your answer.

Even hidden from the user, having a script to launch the app is not an option (think about drag & drop of files on you app for instance)

I will put the dylib in the system or user's */lib only as a last resort.

What I want to install cleanly is Oracle's instant client containing the OCIs. Oracle does not provide any installer (or a Macintel version for that matter), just a folder with the dylibs.

Apple has documented DYLD_LIBRARY_PATH so they understand why it's useful. Now if Apple could just explain why it does not work with environment.plist in 10.4.9 it would help explain to our users why they have to manually install Oracle's dll in */lib folder.

May be there is a good reason for it (security fix for instance), but at least say it! :-)


There was a message a little while ago on the xcode list about this (see below)


Fred

Robert,

I just want to confirm I'm having a similar problem since installing the Security update. The environment variable isn't visible in my application (nor in terminal), though it is correctly set in my environment.plist file and worked fine before the update.

Koen Van Hooreweghe


LSEnvironment, environment.plist, recent 2007-004 patch.



Subject: LSEnvironment, environment.plist, recent 2007-004 patch.
From: Robert Bell <email@hidden>
Date: Tue, 24 Apr 2007 11:50:09 -0700
Delivered-to: email@hidden
Delivered-to: email@hidden



Hi guys,

The recent security update toasted my ability to use the environment.plist to load dynamic library paths. Other variable seem to make it through, but not DYLD_LIBRARY_PATH. Questions:

1) Was this an oversight? I know there were some security issues surrounding this ...

2) I have never been able to get LSEnvironment to work properly as a means for propagating this environment variable. Anyone have any hints since it specifically mentions it in the environment variable section of "Runtime Configuration Guidelines"?

3) Would it not be nice to have a way to propagate environment settings through to the resulting distribution build in xcode? Maybe it is in there somewhere, but all I am aware of is that environment settings are only valid if run from within xcode.

Thanks to everyone advance,

Robert.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >issue with DYLD_LIBRARY_PATH and environment.plist (From: "Matthieu Chevrier" <email@hidden>)
 >Re: issue with DYLD_LIBRARY_PATH and environment.plist (From: email@hidden)
 >RE: issue with DYLD_LIBRARY_PATH and environment.plist (From: "Matthieu Chevrier" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.