Hi All:
I use dlopen to load a dylib on macOS, It woks fine.
Recently, I received one customer report bug, After checked the log, I found that dlopen failed on customer's environment(macOS 13.5.2 22G91) as below
load xxxx failed: dlopen(/***/yyy/zzz.dylib, 0x0001): tried: '/***/yyy/zzz.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/***/yyy/zzz.dylib' (no such file), '/***/yyy/zzz.dylib' (no such file)
- I use full file path to dlopen dylib, and the file is located at there
- I checked dylib signature, notarization, dependency frameworks, all are valid
- I got copy and replace customer's dylib into myself environment, It woks fine
- Customer tried several mac computers, others do not have this problem
I am confused about this issue and do not know how to investigate further. Any comments is appreciated.