Bug 440915 - CMAKE_INSTALL_RPATH is ignored leading to error loading libclang-cpp.so.12
Summary: CMAKE_INSTALL_RPATH is ignored leading to error loading libclang-cpp.so.12
Status: REPORTED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-13 08:10 UTC by Chris Hills
Modified: 2021-08-13 08:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hills 2021-08-13 08:10:12 UTC
When running cmake with -DCMAKE_INSTALL_RPATH, this is not honoured, leading to this error after running `ninja install`:-

$ clazy-standalone
clazy-standalone: error while loading shared libraries: libclang-cpp.so.12: cannot open shared object file: No such file or directory