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
elan shim prepends the toolchain lib path to LD_LIBRARY_PATH. It doesn't seem necessary. More importantly, it messes with lake exe progname (See here).
❯ echo '#eval IO.getEnv "LD_LIBRARY_PATH"' | lean --stdin
some "/home/user/.elan/toolchains/custom-stable/lib:/usr/lib:/usr/local/lib"
❯ echo '#eval IO.getEnv "LD_LIBRARY_PATH"' | ~/.elan/toolchains/leanprover--lean4---nightly/bin/lean --std
in
some "/usr/lib:/usr/local/lib"
The text was updated successfully, but these errors were encountered:
I've ran into this issue as well. Tried to run clang as part of the build process when creating some c++ bindings. A minimal example can be found here: https://github.com/tage64/lean_subprocess_test.git
Kha
added a commit
to Kha/elan
that referenced
this issue
Apr 23, 2023
elan shim prepends the toolchain lib path to
LD_LIBRARY_PATH
. It doesn't seem necessary. More importantly, it messes withlake exe progname
(See here).The text was updated successfully, but these errors were encountered: