Score:-2

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

cn flag

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.

Tilman Schmidt avatar
bd flag
Please show full `ld` command line and error message.
GoogleUser247-2 avatar
cn flag
The error message is in the title. What do you mean with ld command line? I am new to linux.
Tilman Schmidt avatar
bd flag
Then you need to involve a more experienced colleague.
Score:0
cn flag

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)".

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.