On Tue May 12, 2026 at 10:18 PM CEST, Pietro Cerutti wrote:
>>>
>>> ======================================== csc tests ...
>>> dyld[4526]: Library not loaded: libchicken.dylib
>>>    Referenced from: <EF4A9C65-6DDF-368F-9DC5-455A3285DB34> 
>>> /Users/pietrocerutti/chicken-6.0.0rc3/csc
>>>    Reason: tried: 'libchicken.dylib' (no such file), 
>>> '/System/Volumes/Preboot/Cryptexes/OSlibchicken.dylib' (no such file), 
>>> 'libchicken.dylib' (no such file), 
>>> '/Users/pietrocerutti/chicken-6.0.0rc3/tests/libchicken.dylib' (no such 
>>> file), 
>>> '/System/Volumes/Preboot/Cryptexes/OS/Users/pietrocerutti/chicken-6.0.0rc3/tests/libchicken.dylib'
>>>  (no such file), 
>>> '/Users/pietrocerutti/chicken-6.0.0rc3/tests/libchicken.dylib' (no such 
>>> file)
>>>
>>
>>"OSlibchicken.dylib" looks wrong. Can you use "otool" to dump the runtime 
>>linker
>>path of the produced executable from that test?
>
> I think it's just trying.. it simply is not looking into the root dir of 
> the checkout / build.
>
> That test is an interpreted test that calls csc. However, when it uses 
> system* to call csc, the DYLD_LIBRARY_PATH env is not retained.

Right, that's SIP dropping the env-var. Did you make "install" before "check"?


cheers,
felix


Reply via email to