Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD 13.x clangd cannot run. #3929

Closed
number201724 opened this issue Aug 5, 2021 · 3 comments
Closed

FreeBSD 13.x clangd cannot run. #3929

number201724 opened this issue Aug 5, 2021 · 3 comments

Comments

@number201724
Copy link

After installing YCM using the installation guide, it could not be completed automatically. After checking, it was found that clangd could not run.

error: Shared object "libncurses.so.8" not found, required by "clangd"

Temporary solution:
pkg install llvm12

ln -s /usr/local/bin/clangd12 ~/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/clangd/output/bin/clangd

@bstaletic
Copy link
Collaborator

You can set g:ycm_clangd_binary_path, to make YCM use the one you installed with pkg. We are not actually in control of dependencies of clangd on not-linux. I assume a good binary will come out with the next llvm version.

@number201724
Copy link
Author

It is recommended to add a note to the installation guide(FreeBSD) to reduce the time for installation to diagnose problems.

@bstaletic
Copy link
Collaborator

Fixed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants