-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
On Linux, "nimsuggest" crashes if Nim is installed in /usr/bin and the library in /usr/lib/nim #23695
Comments
Related: #21328 |
@lscrd Can you give a shot at the PR? You will need to Thanks |
@jmgomez |
@lscrd I changed it as well, but the chunk didnt make it into the commit. Apologies. Should be up now. |
@jmgomez |
Description
If Nim is installed in the standard locations of a Linux system, nimsuggest expects the library to be installed in /usr/lib instead of /usr/lib/nim.
The issue has been encountered on a Manjaro system, but should exist on any Linux system and even on any Posix system.
Nim Version
Nim Compiler Version 2.0.4 [Linux: amd64]
Compiled at 2024-05-04
Copyright (c) 2006-2023 by Andreas Rumpf
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
Looking at the sources, it appears that nimsuggest doesn’t use the same rule as the compiler to find the location of the library. For Posix system, the compiler adds special rules if "nim" binary is installed in /usr/bin or /usr/local/bin.
The text was updated successfully, but these errors were encountered: