Hi Albert,
I get dynamic libraries not enabled error. You may get the following error when loading socket.core on Linux: error loading module ‘socket.core’ from file ‘/opt/zstudio/bin/linux/x86/clibs/socket/core.so’: dynamic libraries not enabled; check your Lua installation. This most likely means that the Lua interpreter you are using was built without LUA_USE_DLOPEN option enabled. You can either enable it or statically link your application with luasocket.
Jacco Steur <jacco...@gmail.com> writes:
> My goal is debugging LUA filters with the zerobrane ide.
>
> I got stuck on this:
>
> On Ubuntu I installed pandoc 2.5 using sudo apt install pandoc.
>
> [...]
>
> What am I doing wrong here......
You are doing everything right, it's just that the pandoc version
shipped by Ubuntu is too old for this. The `pandoc.path` module is a
relatively recent addition that became available in pandoc 2.12,
released about a year ago. You can install a current version with the
help of the *deb* packages published on the official pandoc release
page: https://github.com/jgm/pandoc/releases/latest
Alternatively, you could use a Docker image that suits your needs, e.g.,
<https://hub.docker.com/r/pandoc/core>, but the .deb installer is
probably easier.
HTH,
Albert
PS: This is also a shortcoming of the filter: it would be better if the
filter was checking the pandoc version, returning a meaningful error
message if the version is too old. I'll go and fix that.
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124