CentOS 8 server: /bin/ld: cannot find -lstdc++

I get an error running make. I have never seen this error. There are no other errors except this one. I am seriously baffled.
Help is appreciated.


So, I have been able to fix this. It was a missing line of code in CMakeLists.txt in the failing program. Had to put in “link_libraries_(stdc++fs)”.

Source : Link , Question Author : GoogleUser247-2 , Answer Author : GoogleUser247-2

Leave a Comment