Fix cc: error trying to exec 'cc1plus' on openSUSE Leap

It’s currently almost 23:15, and I’m already sleepy. Therefore, this is going to be a short note on how I fixed an minor but annoying issue nvim-treesiter (Neovim’s plugin) on openSUSE Leap (15.5). The error message is or was as below: nvim-treesitter[yaml]: Error during compilation cc: error trying to exec 'cc1plus': execvp: No such file or directory Press ENTER or type command to continue I don’t code in C++ nowadays, but the error looks like the C or C++ compiler was missing....

August 29, 2023 · 2 min · 247 words · Kenno

FreeBSD 10: Shared object 'libstdc++.so.6' not found

Today while I was updating py27-m2crypto package on FreeBSD 10 using portmaster, the following error message was displayed: Shared object "libstdc++.so.6" not found, required by "swig" Fortunately, someone else has found the problem and solution before me. According this blog post, FreeBSD 10 includes a new C++ stack and gcc, including libstdc++, is not installed by default. Therefore, to fix the missing this libstdc++.so.6 issue, we need to install lang/gcc....

April 25, 2014 · 1 min · 85 words · kenno