在Ubuntu 22.04中,它似乎缺少库。
我该怎么解决呢?
这就是ld信息的内容:
ld: mode elf_x86_64
attempt to open /usr/local/lib/x86_64-linux-gnu/libxcb.so failed
attempt to open /usr/local/lib/x86_64-linux-gnu/libxcb.a failed
attempt to open /lib/x86_64-linux-gnu/libxcb.so failed
attempt to open /lib/x86_64-linux-gnu/libxcb.a failed
attempt to open /usr/lib/x86_64-linux-gnu/libxcb.so failed
attempt to open /usr/lib/x86_64-linux-gnu/libxcb.a failed
attempt to open /usr/lib/x86_64-linux-gnu64/libxcb.so failed
attempt to open /usr/lib/x86_64-linux-gnu64/libxcb.a failed
attempt to open /usr/local/lib64/libxcb.so failed
attempt to open /usr/local/lib64/libxcb.a failed
attempt to open /lib64/libxcb.so failed
attempt to open /lib64/libxcb.a failed
attempt to open /usr/lib64/libxcb.so failed
attempt to open /usr/lib64/libxcb.a failed
attempt to open /usr/local/lib/libxcb.so failed
attempt to open /usr/local/lib/libxcb.a failed
attempt to open /lib/libxcb.so failed
attempt to open /lib/libxcb.a failed
attempt to open /usr/lib/libxcb.so failed
attempt to open /usr/lib/libxcb.a failed
attempt to open /usr/x86_64-linux-gnu/lib64/libxcb.so failed
attempt to open /usr/x86_64-linux-gnu/lib64/libxcb.a failed
attempt to open /usr/x86_64-linux-gnu/lib/libxcb.so failed
attempt to open /usr/x86_64-linux-gnu/lib/libxcb.a failed
ld: cannot find -lxcb: No such file or directory
字符串
1条答案
按热度按时间nwwlzxa71#
在Xubuntu 23.04上尝试
cargo install jless
时出现类似的错误消息,您可能需要的信息是lxcb
在包管理器中被命名为libxcb
。我收到的错误消息:
字符串
我所做的:
型
希望这对你有帮助!