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
(This is on NixOS, but I suspect you get the same error on other distributions if you don't have gmp installed.)
The reason is that while libgmp is bundled, the libgmp.so symlink is missing. If you create the symlink, then leanc works again:
$ cd .elan/toolchains/leanprover--lean4---nightly-2021-10-07/lib/
$ ln -s libgmp.so.10 libgmp.so
If you have gmp installed, then presumably leanc links against two different GMPs (the bundled one and the system installation). Not sure which one is actually used then, or if this could cause any issues.
Versions
Nightly from October 7.
The text was updated successfully, but these errors were encountered:
* Remove instance and add `to_additive`
* Point some comments to the right issue
* Resolves the issue in leanprover#707
* Might conflict with leanprover#717
leanc complains about the missing libgmp (even though it is bundled). For example, this happens when building lake:
(This is on NixOS, but I suspect you get the same error on other distributions if you don't have gmp installed.)
The reason is that while libgmp is bundled, the
libgmp.so
symlink is missing. If you create the symlink, then leanc works again:If you have gmp installed, then presumably leanc links against two different GMPs (the bundled one and the system installation). Not sure which one is actually used then, or if this could cause any issues.
Versions
Nightly from October 7.
The text was updated successfully, but these errors were encountered: