-
Notifications
You must be signed in to change notification settings - Fork 263
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
libslang.so conflicts with s-lang on most linux systems #4016
Comments
I'm not personally super familiar with Linux packaging strategies-- can you give me some information on how pkgconfig would solve this? |
pkg-config wouldn't solve this (or at least, I don't know how to use pkg-config to solve this). The I just mentioned that because having a |
Renaming will be a breaking change for other users. We're not sure this is feasible at this time. We suggest using the library in a local location if possible. Does this approach work for you? |
No feedback for 2 weeks. We'll close this issue for now. Please reopen if there is more discussion required. |
If libslang is taken and we need an alternative name, libshader-slang sounds good to me. I was looking at the wikipedia page for s-lang. It looks like a legitimate scripting software, although the official webpage, s-lang.org, didn't work for me. |
I'm not sure I understand the argument about backwards compatibility - it would be a breaking change, but just on the level of the directory structure change in v2024.1.27. Using it locally is always possible, but a more OS-friendly release would make it easier for people to add slang to package managers. |
I ran into this as well. (The web page for S-Lang is here). S-Lang is also packaged in homebrew for MacOS and it seems widely available on Linux. |
Hi, can this please be reopened? This is still an issue. |
This is still an issue. |
libslangsl.so can be good as replacement for libslang.so name |
I would prefer a name that is a little more future proof since I still want Slang to grow into a full heterogeneous language some day. |
I just hit a related issue when installing the official Vulkan SDK on Ubuntu 24.04, which includes slang now. |
It's currently very difficult to install
libslang.so
, from the release tarballs, system wide. That's becauselibslang.so
is already taken by s-lang, which is unfortunately in the dependency tree forNetworkManager
.For example, on ubuntu: https://packages.ubuntu.com/jammy/amd64/libslang2/filelist
Linux makes it very difficult to dynamically link against a specific dependency by absolute path - it basically depends on the argument order to
ld
, which is fiddly if you're usingld
from another build tool (so, always). So, unfortunately, name conflicts often result in build or even runtime errors (if the rpath ends up wrong).I would suggest renaming the artifact to
libshader-slang.so
, as unsatisfying as that is. A pkgconfig file would also be great! I'm happy to submit a PR for either/both if that sounds acceptable.The text was updated successfully, but these errors were encountered: