I'm using coc.nvim/coc-clangd
in vim to read my project source code.
I see that clanged can work if the compile_commands.json is provided to clanged.
I can compile the project in my ubuntu env with armcc, so I try to use bear to make compile_commands.
But it reported
ERROR: ld.so: object '/usr/${LIB}/bear/libear.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
I can find libear.so in /usr/lib/x86_64-linux-gnu/bear/. I have no clue why bear cannot work right.