[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] On OS X, ensure DYLD_LIBRARY_PATH is passe
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-hackers] [PATCH] On OS X, ensure DYLD_LIBRARY_PATH is passed to children (#1277) |
Date: |
Sat, 16 Apr 2016 00:36:14 -0500 |
Here is a patch which uses the env idea.
It is a much less invasive change and might slot into 4.11.
Tested only on OS X 10.11.
0001-On-OS-X-ensure-DYLD_LIBRARY_PATH-is-passed-to-childr.patch.txt
Description: Text document
Jim
> On Apr 15, 2016, at 21:23, Jim Ursetto <address@hidden> wrote:
>
>
>> On Apr 15, 2016, at 18:46, address@hidden wrote:
>>
>> Another dirty solution would be to add a hack to those tools that invoke
>> uninstalled
>> programs via system(3) to invoke "env DYLD_LIBRARY_PATH=... <program>"
>> instead.
>>
>
> In limited testing the env approach seems to work. But, I can’t see how to
> do this only during the testing phase. There’s no way for chicken-install or
> setup-api, for example, to know that it’s being invoked as an uninstalled
> program,
> and needs to pass DYLD_LIBRARY_PATH to its children. I suppose that, if a
> tool
> detects that the DYLD_LIBRARY_PATH variable is set at all, and the platform is
> OS X, it could prepend the env call. I would prefer to do only do it during
> `make check`, but it may be an okay compromise. I’ll look into it...
>
> Jim
>
- [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, Jim Ursetto, 2016/04/14
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, Jim Ursetto, 2016/04/14
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, felix . winkelmann, 2016/04/15
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, Peter Bex, 2016/04/15
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, Jim Ursetto, 2016/04/15
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, felix . winkelmann, 2016/04/15
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, Jim Ursetto, 2016/04/15
- Re: [Chicken-hackers] [PATCH] On OS X, ensure DYLD_LIBRARY_PATH is passed to children (#1277),
Jim Ursetto <=
- Re: [Chicken-hackers] [PATCH] On OS X, ensure DYLD_LIBRARY_PATH is passed to children (#1277), Peter Bex, 2016/04/16
- Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11, felix . winkelmann, 2016/04/16