Skip to content

jsregexp Makefile does not link against luajit, only lua (Windows?) #1407

Open

Description

@akioweh

make install_jsregexp fails with linker errors (undefined lua_* symbols) if one has only LuaJIT but not regular Lua installed.
Line 99 in the Makefile appears to hardcode against Lua 5.1: -llua51.

Workaround:

make install_jsregexp LUA_LDLIBS="-lluajit-5.1"

Activity

  1. xudyang1 commented on Dec 27, 2025

    @xudyang1
    Contributor

    Just to help narrow this down, could you share a few details about your setup?

    • What OS are you on (and which version)?

    • How did you install Neovim and Git (package manager, from source, etc.)?

    • What Neovim version are you using? (nvim --version)

    • What LuaSnip version are you on?

  2. akioweh commented on Dec 29, 2025

    @akioweh
    Author

    Just to help narrow this down, could you share a few details about your setup?

    • What OS are you on (and which version)?
    • How did you install Neovim and Git (package manager, from source, etc.)?
    • What Neovim version are you using? (nvim --version)
    • What LuaSnip version are you on?
    • Windows 11 25H2
    • nvim nightly managed by bob
    • NVIM v0.12.0-dev-1879+gb95848a8f1 (has been updated since issue post...)
    • master branch head
  3. xudyang1 commented on Jul 7, 2026

    @xudyang1
    Contributor

    @akioweh you can try #1447.

  4. akioweh commented on Jul 10, 2026

    @akioweh
    Author

    @akioweh you can try #1447.

    I unfortunately (?) no longer have a windows machine :)

    although the PR seems to be about scoop? I was using Bob back then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions