When building SSH for the macOS client it seems some incorrect paths slip through. At one point we got the following error in tlclient.log:
ssh[E]: dyld: Library not loaded: /usr/x86_64-apple-darwin10/lib/libgcc_s.1.dylib
ssh[E]: Referenced from: /Applications/ThinLinc Client.app/Contents/lib/tlclient/ssh
ssh[E]: Reason: image not found
Currently, however, we are no longer getting this error since we have enabled an entitlement called "allow-dyld-environment-variables". When fixing this bug we should investigate if that entitlement can be removed.
It is possible this was fixed with the "disable-library-validation" entitlement instead, I could have gotten things mixed up in my testing.
When fixing this bug, verify if things still work if:
* disable-library-validation entitlement is removed
* allow-dyld-environment-variables entitlement is removed (probably needed for pulse-audio though)
Read more here: