Bug 7475 - SSH client is built with weird paths on macOS
Summary: SSH client is built with weird paths on macOS
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC macOS
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 08:57 CET by Samuel Mannehed
Modified: 2020-03-17 12:46 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2020-03-02 08:57:38 CET
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.
Comment 1 Samuel Mannehed cendio 2020-03-02 14:56:50 CET
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:

https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-dyld-environment-variables

Note You need to log in before you can comment on or make changes to this bug.