-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find /usr/lib/libshaderc_shared.so
#107
Comments
Hi, note that shaderc-rs/shaderc-sys/build/build.rs Lines 180 to 191 in 21bb994
And 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. Hopefully this clarifies. |
Yes, using As it stands, this prevents using prebuilt versions of PS: I was able to work around that, by setting |
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: