BinaryBuilder.jl icon indicating copy to clipboard operation
BinaryBuilder.jl copied to clipboard

Prune `/opt` subdirectories from runpath

Open giordano opened this issue 1 year ago • 0 comments

We've seen libraries with runpath settings like

 0x000000000000001d (RUNPATH)            Library runpath: [/opt/x86_64-linux-gnu/x86_64-linux-gnu/sys-root/usr/local/lib:$ORIGIN]

We should prune /opt directories from runpath, as we already do for /workspace. Look at #1186 for inspiration. Of course, any PR fixing this should also add a test.

giordano avatar Apr 05 '23 21:04 giordano