Skip to content

[os bug] linux 下无法启动 #9

Open

Description

@2044-space-elevator

(以下是因为@TiannTi 大佬被SB 2fa卡住,所以手惨我的账号发布的内容)

cyezoi@608-11:~/Documents/TFV5/touchfish-linux-x64$ ./touchfish_client
./touchfish_client: error while loading shared libraries: libmpv.so.2: cannot open shared object file: No such file or directory

Linux下由于库缺失无法启动(flutter常见问题)。

环境 ubuntu 22.04

Activity

  1. TiannTi commented on Aug 21, 2026

    @TiannTi

    没错没错,Ilovescratch大神速修,我要在Ubantu 22.04上用这个玩意

  2. JohnChiao75 commented on Aug 21, 2026

    @JohnChiao75
    Collaborator

    一些参考:

    libmpv.so 的包名:

    • Debian-like(APT):libmpv-dev
    • Arch-like(Pacman):mpv
    • Red-Hat-like(DNF):mpv-libs
  3. JohnChiao75 commented on Aug 21, 2026

    @JohnChiao75
    Collaborator

    没错没错,Ilovescratch大神速修,我要在Ubantu 22.04上用这个玩意

    @TiannTi 可以按照上面的包名自行安装,Ubuntu 是:

    sudo apt update
    sudo apt install libmpv-dev
  4. SunnyFishQwQ commented on Aug 21, 2026

    @SunnyFishQwQ

    好像不只 libmpv 吧,还有我在 Ubuntu WSL 上需要再 apt install libgles2

  5. ILoveScratch2 commented on Aug 21, 2026

    @ILoveScratch2
    Owner

    注意到主机是:

    cyezoi@608-11
    

    !!

  6. JohnChiao75 commented on Aug 21, 2026

    @JohnChiao75
    Collaborator

    注意到主机是:

    cyezoi@608-11
    

    !!

    cyez 居然有 Linux???

  7. ILoveScratch2 commented on Aug 21, 2026

    @ILoveScratch2
    Owner

    @JohnChiao75 感觉光加lib怕是不行,再试一试()分配给你了

  8. Nickspace114514 commented on Aug 21, 2026

    @Nickspace114514
    Contributor

    注意到主机是:

    cyezoi@608-11
    

    !!

    cyez 居然有 Linux???

    此为我校之服务器也

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions