cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

Error while running cppcheck

Open oedze opened this issue 1 year ago • 3 comments

I have updated to the lastest 1.12.1 version, thanks for updating!

I am running into an issue though. Whenever i run the command cppcheck i get the following error: cppcheck: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

It looks like the library is missing or something, but it is being installed. I can't seem to figure it out.

I Tried this on both our gitlab runner which is running Linux and also on my windows desktop using docker desktop, in both cases i get this error.

What could this be?

oedze avatar Oct 31 '23 13:10 oedze

Having the same issue with the latest v2.12.1 release.

carlosperate avatar Feb 16 '24 15:02 carlosperate

Also having this issue on the same release (v2.12.1).

donaldmurf avatar Mar 09 '24 00:03 donaldmurf

I am having the same issue as well. To reproduce:

$ docker run --rm -v .:/src ghcr.io/facthunder/cppcheck:2.12.1 cppcheck -v
cppcheck: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

campbell-brown avatar Aug 11 '24 23:08 campbell-brown