New comment by Calandracas606 on void-packages repository https://github.com/void-linux/void-packages/pull/48661#issuecomment-2190239921 Comment: > why does the shared lib `libclang18` depend on include headers `clang18-headers`? i think it should not. or am i wrong? p.s. the same applies to the current 17 version. because libclang is where the magic happens. libclang can be thought of as a sort of "embedded compiler", the main "clang" binary mostly just calls libclang since libclang does the actual compiling, it needs the headers. This means that other programs can use clang by linking libclang, rather than by executing the clang binary. For example, this is done by Mesa.