[SERVER-69507] Rpath should only be set on dynamic builds Created: 08/Sep/22 Updated: 29/Oct/23 Resolved: 18/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.1, 5.0.14, 6.0.3, 6.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | Trevor Guidry |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.1, v6.0, v5.0
|
||||||||
| Participants: | |||||||||
| Description |
|
Currently -rpath (which sets DT_RUNPATH) of $ORIGIN/../lib is always used when linking binaries, but this should only be done when --link-model=dynamic has been specified to scons (since its purpose is only to allow the dynamic linker to resolve our internal .so libs, when they exist). |
| Comments |
| Comment by Githook User [ 26/Oct/22 ] |
|
Author: {'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com'}Message: (cherry picked from commit eff572b7c1a78919e3d79957000a11e4d0dcf985) |
| Comment by Githook User [ 24/Oct/22 ] |
|
Author: {'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com'}Message: (cherry picked from commit eff572b7c1a78919e3d79957000a11e4d0dcf985) |
| Comment by Githook User [ 24/Oct/22 ] |
|
Author: {'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com'}Message: (cherry picked from commit eff572b7c1a78919e3d79957000a11e4d0dcf985) |
| Comment by Githook User [ 18/Oct/22 ] |
|
Author: {'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com'}Message: |