Zulip Chat Archive
Stream: general
Topic: error loading library, libleanmd4c.so
Eric Wieser (Dec 17 2024 at 16:24):
While hacking around with Verso, I've found myself wanting a custom component to render markdown. However, when I try to use https://github.com/david-christiansen/md4lean (via VersoManual.Markdown
), vscode complains that it cannot load the .so
file. lake build
from the command line works with out issues.
Shreyas Srinivas (Dec 17 2024 at 16:48):
Same here on gitpod
Shreyas Srinivas (Dec 17 2024 at 16:48):
I opened the lean reference manual for context
Shreyas Srinivas (Dec 17 2024 at 16:51):
Would it be a bad idea to link the library statically or have it compiled from source from inside lake? It doesn't look too big: https://github.com/david-christiansen/md4lean/tree/main/md4c
Eric Wieser (Dec 18 2024 at 17:24):
I think https://github.com/acmepjz/md4lean/pull/3 fixes the md4lean issue, though of course @David Thrane Christiansen will have to sync this into their fork
Eric Wieser (Dec 18 2024 at 17:45):
Thanks @Jz Pan, I've made the upstream PR at https://github.com/david-christiansen/md4lean/pull/2
David Thrane Christiansen (Dec 20 2024 at 06:52):
Thanks! I'm on vacation until 3 Jan, but I'll look then. I should also get around to upstreaming my md4lean changes, now that I'm fairly confident in them and have used them for a bit.
Last updated: May 02 2025 at 03:31 UTC