searching for -lstdc++
Фактически:
ls -la /usr/lib/gcc/x86_64-linux-gnu/9
-rw-r--r-- 1 root root 5809754 Apr 23 14:06 libstdc++.a
Если: ld -lstdc++ --verbose
attempt to open //usr/local/lib/x86_64-linux-gnu/libstdc++.so failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libstdc++.a failed
attempt to open //lib/x86_64-linux-gnu/libstdc++.so failed
attempt to open //lib/x86_64-linux-gnu/libstdc++.a failed
attempt to open //usr/lib/x86_64-linux-gnu/libstdc++.so failed
attempt to open //usr/lib/x86_64-linux-gnu/libstdc++.a failed
attempt to open //usr/lib/x86_64-linux-gnu64/libstdc++.so failed
attempt to open //usr/lib/x86_64-linux-gnu64/libstdc++.a failed
attempt to open //usr/local/lib64/libstdc++.so failed
attempt to open //usr/local/lib64/libstdc++.a failed
attempt to open //lib64/libstdc++.so failed
attempt to open //lib64/libstdc++.a failed
attempt to open //usr/lib64/libstdc++.so failed
attempt to open //usr/lib64/libstdc++.a failed
attempt to open //usr/local/lib/libstdc++.so failed
attempt to open //usr/local/lib/libstdc++.a failed
attempt to open //lib/libstdc++.so failed
attempt to open //lib/libstdc++.a failed
attempt to open //usr/lib/libstdc++.so failed
attempt to open //usr/lib/libstdc++.a failed
attempt to open //usr/x86_64-linux-gnu/lib64/libstdc++.so failed
attempt to open //usr/x86_64-linux-gnu/lib64/libstdc++.a failed
attempt to open //usr/x86_64-linux-gnu/lib/libstdc++.so failed
attempt to open //usr/x86_64-linux-gnu/lib/libstdc++.a failed
ld: cannot find -lstdc++
Я понимаю, что проблема в дабл слешах, но как мне понять, откуда он берётся?
Смотреть конфиг сборки
Обсуждают сегодня