Closed Jaywalker closed 5 months ago
I see you are using the legacy --clang-completer
. I would advise you to skip that flag and instead set g:ycm_clangd_binary_path
.
Aha! I didn't realize that was deprecated. Completion is working as expected with that fix in place. Thanks!
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
The module fails to load on OpenBSD. It tries to load the
.so
file, but fails and says "Cannot load specified object".I have tried the "Run YCM Manually" step per https://github.com/ycm-core/YouCompleteMe/wiki/Troubleshooting-steps-for-ycmd-server-SHUT-DOWN and got the same issue as is noted in the ycmd stderr log in the gist below.
I then tried running it with the flag
LD_DEBUG=1
as followsenv LD_DEBUG=1 python3.10 ycmd --options_file=default_settings.json
and got the output in this gist: https://gist.github.com/Jaywalker/e353ea8ab31b209ce59e5c5ad142b663Most notable line to me is line 602:
dlopen: /home/jaywalker/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.cpython-310.so: done (failed).
YCM to run.
It says the YCM server is shutdown.
Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Output of
YcmDiags
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
https://gist.github.com/Jaywalker/bf28d07a66eeb1ea050793075a5e861e https://gist.github.com/Jaywalker/66ef3959dfc459b2171f0a659055b463
OS version, distribution, etc.
OpenBSD 7.4
Output of build/install commands
https://gist.github.com/Jaywalker/8ec1b4a7a5bf404ce20d4d5cb8e6edfa