You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the pre-built shaderc library package for Linux, and unpacked it in /usr/lib. This is one of the locations where shaderc-rs will search for libraries according to the readme, and /usr/lib/libshaderc_shared.so is right there along with all the other shaderc libraries. Yet for some reason it fails to find the library, and proceeds to build from source (which fails because I uninstalled cmake). How come it's not finding the library? Is the documentation incorrect?
The text was updated successfully, but these errors were encountered:
Hi, note that /usr/lib/ is just one example given for Linux system library paths: "On Linux, system library paths like ..". There is an implicit ordering in the library path:
// Other distributions running on x86_64 usually use this path.
Some("/usr/lib64/".to_owned())
}else{
// Other distributions, not x86_64.
Some("/usr/lib/".to_owned())
};
And /usr/lib/ is the last one of it. I think the problem is that only directory existence was checked there; not the library. So as long as you have other directories recognized, they will be picked by the script.
This is all very tricky and ad-hoc. I think the above part should be rewritten to just use some more standardized way to probe system shared libraries.
I downloaded the pre-built shaderc library package for Linux, and unpacked it in
/usr/lib
. This is one of the locations where shaderc-rs will search for libraries according to the readme, and/usr/lib/libshaderc_shared.so
is right there along with all the other shaderc libraries. Yet for some reason it fails to find the library, and proceeds to build from source (which fails because I uninstalled cmake). How come it's not finding the library? Is the documentation incorrect?The text was updated successfully, but these errors were encountered: