Zulip Chat Archive
Stream: lean4
Topic: can't find "libleanshared_1.dll" to execute lean executable
Zhong TengXun (Aug 29 2025 at 01:46):
lake exe can run the program while directly run the exe in .lake\build\bin cannot, which shows something like the title.
Sebastian Ullrich (Aug 29 2025 at 08:27):
Dynamic linking is not the standard build type of Lean, nor is running the executables directly. If you want both for e.g. deployment, you'll need to copy the required DLLs from the toolchain's bin folder to the executable location.
Zhong TengXun (Aug 29 2025 at 10:01):
thanks
Last updated: Dec 20 2025 at 21:32 UTC