-
-
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
Nim fails to find libraries on compile #22369
Comments
I have the same issue on a Raspberry Pi 2 ( A workaround is to create a symlink:
|
In my case it is the other way around:
but nim is installed under EDIT:
EDIT2: So yeah I cannot get it to work. Here is my install.sh config:
This used to work fine with nim <2.0. |
closes nim-lang#22369, closes nim-lang#23197, closes nim-lang#24385
Description
Platform: aarch64, nim compiled from source.nim
Nim has been compiled and installed using the provided scripts from the source tarball.
Upon attempting to compile a program with nim the following error is produced
Error: cannot open '/usr/lib/nim/lib/system.nim'
Seems that nim is looking for libraries in
/usr/lib/nim/lib
and they are being installed to/usr/lib/nim
.I'm not sure which repo the install script lives in so apologies if this is in the wrong place
Nim Version
Nim Compiler Version 2.0.0 [Linux: arm64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: a488067
active boot switches: -d:release -d:danger
Current Output
No response
Expected Output
No response
Possible Solution
No response
Additional Information
Works correctly with previous release, Nim 1.6.14
The text was updated successfully, but these errors were encountered: