Skip to content

libuv feature error #249

@yyy33

Description

@yyy33

Hi, I can't use libuv, please help me. I tried two other features: neovim-0-10 and neovim-nightly, neither of them loads properly

When I remove the feature "libuv", everything works fine. I actually need to use the feature, even though I haven't used it in my code yet!

#[nvim_oxi::plugin]
fn translate() -> i32 {
    42
}

[package]
name = "translate"
version = "0.1.0"
edition = "2024"

[lib]
crate-type = ["cdylib"]

[dependencies]
nvim-oxi = { version = "0.6.0", features = ["neovim-0-11", "libuv", "mlua"] } 
serde = { version = "1.0.219", features = ["derive"] } 

winnow = "0.7.10"
tokio = { version ="1.45.1" , features = ["time", "rt", "macros", "rt-multi-thread", "sync"] } 
mlua = { version ="0.10.5" , features = ["luajit"] } 
$ nvim --version
NVIM v0.11.0
Build type: Release
LuaJIT 2.1.1731601260                                   Run "nvim -V1 -v" for more info
Failed to run `config` for translate.nvim

vim/loader.lua:220: dlopen failed: cannot locate symbol "luv_loop" referenced by "/data/data/com.termux/files/home/nvim/插件/本地/translate.nvim/lua/translate.so"...

# stacktrace:
  - vim/loader.lua:220
  - .config/nvim/lua/plugins/example.lua:7 _in_ **config**
  - .config/nvim/lua/config/lazy.lua:17
  - .config/nvim/init.lua:2

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