Re: Apple library distrobution
Re: Apple library distrobution
- Subject: Re: Apple library distrobution
- From: "David R. Morrison" <email@hidden>
- Date: Sat, 16 Oct 2004 20:40:55 -0400
On Oct 16, 2004, at 2:56 PM, robert delius royar wrote:
Is it more correct to use DYLD_FALLBACK_LIBRARY_PATH than to use
DYLD_LIBRARY_PATH? DYLD_LIBRARY_PATH appears to be for testing new
directories before installing them.
It's a tricky question in this particular case.
We're assuming that some users might have X11 installed, and some might
not. Now, there are actually several versions of X11 which they might
have installed (from Apple, from XFree86, and from X.org) and they are
not all binary compatible. It might be the case that the
incompatibilities won't matter for the software that the original
poster was concerned with. But if they do, you want to make sure that
dyld finds the *correct* copy of the library. Using DYLD_LIBRARY_PATH
guarantees this, since it is searched first.
(What I have in mind is a wrapper shell script for the actual
executable,
which just sets that environment variable and then launches the
executable. You certainly *don't* want to set it more globallly, or
ask users to set it themselves, or anything like that, as that could
indeed mess things up.)
-- Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden