/usr/bin/ld: 찾을 수 없음 -lstdc++

/usr/bin/ld: 찾을 수 없음 -lstdc++

나는 ubuntu 14.04 64비트 운영 체제를 사용하고 있으며 synopsys vcs에서 Verilog 코드를 실행하면 다음 오류가 표시됩니다. ubuntu에 누락된 패키지가 있을 수 있다고 생각합니다. 검색했지만 이와 관련된 내용을 얻지 못했습니다. 관련 정보가
/usr/bin/ld: cannot find -lstdc++있어서 이 질문을 이 포털에 게시하기로 결정했습니다. 문제 해결을 도와주세요

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++

답변1

시스템의 libstdc++ 버전이 Synopsys 버전과 호환되지 않습니다.

내가 아는 한 Synopsys는 CentOS와 SLES(및 아마도 RedHat)에서만 지원됩니다. 따라서 올바른 버전의 라이브러리를 얻기 위해 복잡한 해킹 없이 Ubuntu의 모든 버전이 작동할 가능성은 거의 없습니다. (CentOS 컨테이너에서도 실행이 가능합니다.)

관련 정보